testeranto
Version:
the AI powered BDD test framework for typescript projects
10 lines (9 loc) • 336 B
JavaScript
export const testAdapter = {
beforeEach: async (subject, initializer) => initializer(),
andWhen: async (store, whenCB) => whenCB(store),
butThen: async (store, thenCB) => thenCB(store),
afterEach: (store) => store,
afterAll: () => { },
assertThis: (result) => !!result,
beforeAll: async (input) => input,
};