Skip to content

Commit 78752c1

Browse files
committed
e2e tests: update module
1 parent 4ba9ca2 commit 78752c1

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

scripts/run-e2e-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ set -e
3030
cd "$TESTDIR"
3131

3232
npm install
33-
npm run test -- ${ARGS:+${ARGS[*]}}
33+
npm run test-e2e -- ${ARGS:+${ARGS[*]}}

test/e2e/cucumber.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
const common = {
22
requireModule: ['ts-node/register'],
3-
require: ['features/**/*.ts'],
3+
require: [`${__dirname}/features/**/*.ts`],
44
publishQuiet: true,
55
format: ['progress'],
6-
formatOptions: {
7-
snippetInterface: 'async-await'
8-
},
6+
formatOptions: { snippetInterface: 'async-await' },
97
worldParameters: {
108
bundleServerCommand: '../../bin/git-bundle-server',
119
bundleWebServerCommand: '../../bin/git-bundle-web-server',

test/e2e/package-lock.json renamed to test/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/e2e/package.json renamed to test/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "e2e-test",
2+
"name": "test",
33
"version": "1.0.0",
44
"private": true,
55
"description": "",
66
"main": "index.js",
77
"scripts": {
8-
"test": "cucumber-js"
8+
"test-e2e": "cucumber-js e2e -c e2e/cucumber.js"
99
},
1010
"license": "MIT",
1111
"devDependencies": {

test/e2e/tsconfig.json renamed to test/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"allowSyntheticDefaultImports": true,
77
"resolveJsonModule": true,
88
"sourceMap": true,
9-
"inlineSources": true,
9+
"inlineSources": true
1010
},
1111
"exclude": ["node_modules"]
1212
}

0 commit comments

Comments
 (0)