-
Notifications
You must be signed in to change notification settings - Fork 113
/
index.ts
19 lines (16 loc) · 788 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export { loadFeature, loadFeatures, parseFeature } from './parsed-feature-loading';
export { DefineStepFunction } from './feature-definition-creation';
export { setJestCucumberConfiguration } from './configuration';
export {
generateCodeFromFeature,
generateCodeWithSeparateFunctionsFromFeature,
} from './code-generation/generate-code-by-line-number';
export { StepsDefinitionCallbackFunction as StepDefinitions, IJestLike } from './feature-definition-creation';
import { createDefineFeature, IJestLike } from './feature-definition-creation';
import { createAutoBindSteps } from './automatic-step-binding';
const jestLike: IJestLike = {
describe,
test,
};
export const defineFeature = createDefineFeature(jestLike);
export const autoBindSteps = createAutoBindSteps(jestLike);