smartexpect/ts/index.ts

13 lines
351 B
TypeScript
Raw Normal View History

2022-01-20 21:40:38 +00:00
import * as plugins from './smartexpect.plugins';
2022-01-21 02:33:24 +00:00
import { Assertion } from './smartexpect.classes.assertion';
export const expect = (baseArg: any) => {
const assertion = new Assertion(baseArg, 'sync');
return assertion;
}
export const expectAsync = (baseArg: any) => {
const assertion = new Assertion(baseArg, 'async');
return assertion;
}