Skip to content

Commit

Permalink
test(cucumber): updated references to use the scoped version
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Dec 21, 2021
1 parent 8a2a1fb commit 34b0d71
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"coverage:report": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"test:unit": "run-s coverage",
"test:integration": "run-s test:integration:base -- --tags 'not @wip'",
"test:integration:base": "cucumber-js test/integration --require-module @babel/register --format-options '{\"snippetInterface\": \"async-await\"}'",
"test:integration:base": "cucumber-js test/integration --require-module @babel/register --publish-quiet --format-options '{\"snippetInterface\": \"async-await\"}'",
"test:integration:debug": "DEBUG=test run-s tests:integration",
"test:integration:wip": "run-s test:integration:base -- --tags @wip",
"test": "run-s lint:* test:*",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/features/step_definitions/error-steps.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {When, Then} from 'cucumber';
import {When, Then} from '@cucumber/cucumber';
import {assert} from 'chai';
import {NOT_FOUND, INTERNAL_SERVER_ERROR} from 'http-status-codes';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {MOVED_TEMPORARILY, MOVED_PERMANENTLY} from 'http-status-codes';
import {assert} from 'chai';
import {When, Then} from 'cucumber';
import {When, Then} from '@cucumber/cucumber';

let redirectType;

Expand Down
2 changes: 1 addition & 1 deletion test/integration/features/step_definitions/render-steps.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {OK} from 'http-status-codes';
import {assert} from 'chai';
import {When, Then} from 'cucumber';
import {When, Then} from '@cucumber/cucumber';

When(/^a request is made for an existing route$/, function () {
return this.makeRequest({url: '/existing-route'});
Expand Down
2 changes: 1 addition & 1 deletion test/integration/features/step_definitions/server-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import hapi from '@hapi/hapi';
import {MOVED_TEMPORARILY, MOVED_PERMANENTLY} from 'http-status-codes';
import mustache from 'mustache';
import any from '@travi/any';
import {setWorldConstructor, Before} from 'cucumber';
import {setWorldConstructor, Before} from '@cucumber/cucumber';
import {World} from '../support/world';

const reducer = (state, action) => {
Expand Down

0 comments on commit 34b0d71

Please sign in to comment.