1
0

Switch to ESM

This commit is contained in:
2024-12-20 15:03:16 +01:00
parent 53e4c5dba6
commit 738f4f2bdb
22 changed files with 10709 additions and 5148 deletions

View File

@ -1,7 +0,0 @@
module.exports = {
presets: [
[ '@babel/env', {
useBuiltIns: 'usage'
}]
]
}

View File

@ -1,4 +1,4 @@
import { Given, When, Then } from 'cucumber'
import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai'
Given('the following books by Simon Frank are in the collection:', function (dataTable) {

File diff suppressed because it is too large Load Diff

View File

@ -3,17 +3,14 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"test": "cucumber-js --require-module '@babel/register'"
"test": "cucumber-js"
},
"author": "Eugen Wissner <belka@caraus.de>",
"license": "MPL-2.0",
"dependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@babel/register": "^7.0.0",
"babel-loader": "^8.0.4",
"chai": "^4.2.0",
"cucumber": "^5.0.3"
"@cucumber/cucumber": "^11.1.1",
"chai": "^5.1.2"
}
}