UNPKG

@plugjs/expect5

Version:

Unit Testing for the PlugJS Build System ========================================

12 lines (11 loc) 566 B
import { AsyncExpectations } from './async'; import { Matcher } from './matchers'; export type { AsyncExpectations } from './async'; export type { Expectations, NegativeExpectations } from './expectations'; export type { Matcher as Matchers, NegativeMatchers } from './matchers'; /** The `expect` function exposing expectations and matchers */ export type Expect = { <T = unknown>(value: T, remarks?: string): AsyncExpectations<T>; } & Omit<Matcher, 'expect'>; /** The `expect` function exposing expectations and matchers */ export declare const expect: Expect;