mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
285 B
TypeScript
14 lines
285 B
TypeScript
import { validate, format, createDidYouMeanMessage } from 'jest-validate';
|
|
|
|
validate(
|
|
{ a: 0 },
|
|
{
|
|
condition: () => false,
|
|
exampleConfig: { a: 1, b: 2 },
|
|
},
|
|
);
|
|
|
|
const formatted = format({ c: 3 });
|
|
|
|
const didYouMeanMessage = createDidYouMeanMessage('bbb', ['aaa', 'ccc']);
|