Remove babel from the tutorial, assertion, async
This commit is contained in:
@@ -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 () {
|
||||
|
@@ -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'
|
||||
|
||||
|
@@ -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()
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user