UNPKG

cli-testing-library

Version:

Simple and complete CLI testing utilities that encourage good testing practices.

12 lines (9 loc) 394 B
import globals from "@jest/globals"; import * as extensions from "./matchers/index"; import type { CLITestingLibraryMatchers } from "./matchers/types"; globals.expect.extend(extensions); declare module "@jest/expect" { // eslint-disable-next-line @typescript-eslint/naming-convention export interface Matchers<R extends void | Promise<void>> extends CLITestingLibraryMatchers<R> {} }