UNPKG

testeranto

Version:

the AI powered BDD test framework for typescript projects

24 lines (23 loc) 819 B
"use strict"; /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(exports, "__esModule", { value: true }); exports.testAdapter = void 0; exports.testAdapter = { beforeAll: async () => { }, beforeEach: async (subject, initializer) => { console.log("Running beforeEach with initializer:", initializer); const result = await initializer(); console.log("Initializer returned:", result); return result; }, andWhen: async (store, whenCB, testResource, utils) => { return whenCB(store, utils); }, butThen: async (store, thenCB, testResource, pm) => { return thenCB(store, pm); }, afterEach: (store) => store, afterAll: () => { }, assertThis: (x) => { }, };