UNPKG

testeranto

Version:

the AI powered BDD test framework for typescript projects

14 lines (13 loc) 465 B
import { BaseGiven } from "../abstractBase"; export class MockGiven extends BaseGiven { constructor(name, features, whens, thens, givenCB, initialValues) { super(name, features, whens, thens, givenCB, initialValues); } async givenThat(subject, testResourceConfiguration, artifactory, givenCB, initialValues, pm) { return givenCB(); } uberCatcher(e) { console.error("MockGiven error:", e); this.error = e; } }