2022-01-20 22:40:38 +01:00
|
|
|
import * as plugins from './smartexpect.plugins';
|
|
|
|
|
2022-01-21 03:33:24 +01: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;
|
|
|
|
}
|