From 53e4c5dba6ede90f0e23b192350b3cc833834523 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 19 Dec 2024 23:54:35 +0100 Subject: Remove babel from the tutorial, assertion, async --- async/features/steps/async.js | 2 +- async/features/steps/request.js | 2 +- async/features/support/hooks.js | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'async/features') 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() }) - - -- cgit v1.2.3