Skip to content

Commit 82d682e

Browse files
committed
feat: add cucumber
1 parent b00e3ce commit 82d682e

File tree

5 files changed

+1447
-26
lines changed

5 files changed

+1447
-26
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Install package dependencies
5454
run: npm ci
5555
- name: Run tests
56-
run: npm run test
56+
run: npm run test:unit
5757
coverage:
5858
name: Coverage
5959
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Install package dependencies
5656
run: npm ci
5757
- name: Run tests
58-
run: npm run test
58+
run: npm run test:unit
5959
coverage:
6060
name: Coverage
6161
runs-on: ubuntu-latest

cucumber.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const config = [
2+
'test/integration/features/**/*.feature',
3+
'--require-module ts-node/register',
4+
'--require tests/integration/features/**/*.ts',
5+
'--format progress-bar',
6+
'--format json:report.json',
7+
'--publish-quiet',
8+
].join(' ')
9+
10+
module.exports = {
11+
default: config,
12+
}

0 commit comments

Comments
 (0)