---
symbol: FakeCliExeca
module: "@tsed/cli-testing"
type: class
meta:
 - name: keywords
   description: api typescript node.js documentation FakeCliExeca class
---
# FakeCliExeca - @tsed/cli-testing

## Usage

```typescript
import { FakeCliExeca } from "@tsed/cli-testing";
```

> See [/packages/cli-testing/src/FakeCliExeca.ts](https://github.com/tsedio/tsed-cli/blob/v7.5.1/packages/cli-testing/src/FakeCliExeca.ts#L0-L0).

## Overview

```ts
class FakeCliExeca extends CliExeca {
    static entries: Map<string, string>;
    run(cmd: string, args: string[], opts?: any): any;
    getAsync(cmd: string, args: string[], opts?: any): Promise<any>;
    runSync(cmd: string, args: string[], opts?: any): any;
}
```

<!-- Members -->

## static entries

```ts
static entries: Map<string, string>;
```

## run

```ts
run(cmd: string, args: string[], opts?: any): any;
```

## getAsync

```ts
getAsync(cmd: string, args: string[], opts?: any): Promise<any>;
```

## runSync

```ts
runSync(cmd: string, args: string[], opts?: any): any;
```
