1 | {"version":3,"file":"bdd.js","sourceRoot":"","sources":["../../../../src/lib/interfaces/bdd.ts"],"names":[],"mappings":";;;;;;;;;;;;IAEA,6BAUe;IAOG,yFAbhB,WAAK,OAamB;IACT,mFAbf,UAAI,OAaa;IACV,uFAbP,YAAM,OAaO;IAAE,sFAZf,WAAK,OAYe;IAAE,2FAXtB,gBAAU,OAWsB;IAAE,0FAVlC,eAAS,OAUkC;IAE7C,SAAgB,YAAY,CAAC,QAAkB;QACvC,IAAA,KAAwD,kBAAe,CAC3E,QAAQ,CACT,EAFO,KAAK,WAAA,EAAE,IAAI,UAAA,EAAE,MAAM,YAAA,EAAE,KAAK,WAAA,EAAE,UAAU,gBAAA,EAAE,SAAS,eAExD,CAAC;QAEF,OAAO;YACL,QAAQ,EAAE,KAAK;YACf,EAAE,EAAE,IAAI;YACR,MAAM,QAAA;YACN,KAAK,OAAA;YACL,UAAU,YAAA;YACV,SAAS,WAAA;SACV,CAAC;IACJ,CAAC;IAbD,oCAaC","sourcesContent":["import { Executor } from '../executors/Executor';\nimport { TestProperties } from '../Test';\nimport {\n TddLifecycleInterface,\n TddSuiteFactory,\n getInterface as getTddInterface,\n suite,\n test,\n before,\n after,\n beforeEach,\n afterEach\n} from './tdd';\n\nexport interface BddInterface extends TddLifecycleInterface {\n describe(name: string, factory: TddSuiteFactory): void;\n it(name: string, test: TestProperties['test']): void;\n}\n\nexport { suite as describe };\nexport { test as it };\nexport { before, after, beforeEach, afterEach };\n\nexport function getInterface(executor: Executor): BddInterface {\n const { suite, test, before, after, beforeEach, afterEach } = getTddInterface(\n executor\n );\n\n return {\n describe: suite,\n it: test,\n before,\n after,\n beforeEach,\n afterEach\n };\n}\n"]} |