Skip to content

Commit c3294fc

Browse files
Fix acceptance tests
1 parent 29b1a25 commit c3294fc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/features/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lint": "nx lint",
99
"lint:fix": "nx lint:fix",
1010
"test": "nx run features:test",
11-
"cucumber-esm": "cucumber-js --loader ts-node/esm",
11+
"cucumber": "cucumber-js",
1212
"type-check": "nx type-check"
1313
},
1414
"eslintConfig": {

packages/features/project.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
"executor": "nx:run-commands",
1111
"dependsOn": ["^build"],
1212
"options": {
13-
"command": "pnpm cucumber-esm",
14-
"cwd": "packages/features"
13+
"command": "pnpm cucumber",
14+
"cwd": "packages/features",
15+
"env": {
16+
"NODE_OPTIONS": "--loader ts-node/esm"
17+
}
1518
}
1619
},
1720
"lint": {

0 commit comments

Comments
 (0)