13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
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;
|
|
};
|
|
|