smartexpect/ts/index.ts
2022-01-21 03:33:24 +01:00

13 lines
351 B
TypeScript

import * as plugins from './smartexpect.plugins';
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;
}