DefinitelyTyped/types/jest-cli/jest-cli-tests.ts
Aaron Reisman ab049f04e7 Add @types/jest-cli (#29558)
* Update index.d.ts

* Update index.d.ts

* make updates from @andy-ms

* Add expectation

* Update types

* Update test

* Lint

* Rename jest-tests.ts to jest-cli-tests.ts
2018-10-10 18:56:22 -07:00

5 lines
108 B
TypeScript

import * as jest from "jest-cli";
// $ExpectType Promise<void>
jest.run(["--config", JSON.stringify({})]);