14 lines
360 B
TypeScript
14 lines
360 B
TypeScript
import * as plugins from './smartexpect.plugins.js';
|
|
|
|
import { Assertion } from './smartexpect.classes.assertion.js';
|
|
|
|
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;
|
|
};
|