summaryrefslogtreecommitdiff
path: root/async/features
diff options
context:
space:
mode:
Diffstat (limited to 'async/features')
-rw-r--r--async/features/steps/async.js2
-rw-r--r--async/features/steps/request.js2
-rw-r--r--async/features/support/hooks.js4
3 files changed, 3 insertions, 5 deletions
diff --git a/async/features/steps/async.js b/async/features/steps/async.js
index ea88856..5642862 100644
--- a/async/features/steps/async.js
+++ b/async/features/steps/async.js
@@ -1,4 +1,4 @@
-import { When } from 'cucumber'
+import { When } from '@cucumber/cucumber'
import axios from 'axios'
When('I request the same resource twice', async function () {
diff --git a/async/features/steps/request.js b/async/features/steps/request.js
index ac74d10..e05014c 100644
--- a/async/features/steps/request.js
+++ b/async/features/steps/request.js
@@ -1,4 +1,4 @@
-import { Given, When, Then } from 'cucumber'
+import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai'
import axios from 'axios'
diff --git a/async/features/support/hooks.js b/async/features/support/hooks.js
index c86df1e..00ac749 100644
--- a/async/features/support/hooks.js
+++ b/async/features/support/hooks.js
@@ -1,4 +1,4 @@
-import { BeforeAll, AfterAll } from 'cucumber'
+import { BeforeAll, AfterAll } from '@cucumber/cucumber'
import express from 'express'
let server
@@ -16,5 +16,3 @@ BeforeAll(function () {
AfterAll(function () {
server.close()
})
-
-