jest-cucumber
Version:
Execute Gherkin scenarios in Jest
13 lines • 628 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var src_1 = require("../../../../src/");
var feature = src_1.loadFeature('./examples/typescript/specs/features/marbles.feature');
src_1.defineFeature(feature, function (test) {
test('I am a scenario', function (_a) {
var given = _a.given, when = _a.when, then = _a.then;
given('I am given step', function () { });
when('I am when step', function () { });
then('Then I am then step', function () { }); //this is a wrong declaration of step definition
});
});
//# sourceMappingURL=marbles.steps.js.map