UNPKG

testeranto

Version:

the AI powered BDD test framework for typescript projects

26 lines (25 loc) 766 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.testAdapter = void 0; exports.testAdapter = { beforeAll: async (input, testResource, pm) => { return input; }, beforeEach: async (subject, initializer, testResource, initialValues, pm) => { const result = initializer()(); return result; }, andWhen: async (store, whenCB, testResource, utils) => { const result = whenCB(store, utils); return result; }, butThen: async (store, thenCB, testResource, pm) => { const result = thenCB(store, pm); return result; }, afterEach: async (store, key, pm) => { return store; }, afterAll: (store, pm) => { }, assertThis: (x) => x, };