UNPKG

earljs

Version:

Ergonomic, modern and type-safe assertion library

14 lines (13 loc) 312 B
import type { Expectation } from './Expectation'; export interface Modifiers<T> { /** * Inverts the behaviour of the validator that follows. * * @example * ```ts * expect(3).toEqual(4) // ❌ * expect(3).not.toEqual(4) // ✅ * ``` */ get not(): Expectation<T>; }