Skip to content

Commit 60ba154

Browse files
committed
fixup! migrate to commander options
1 parent 436a5c1 commit 60ba154

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757

5858
- name: Test
5959
run: |
60-
npm run test:unit -- -h -b ${{ matrix.BROWSER }} \
60+
npm run test:unit -- \
61+
--headless -b ${{ matrix.BROWSER }} \
6162
-c ${{ matrix.CONFIGS.config }} \
6263
6364
edge:
@@ -97,7 +98,8 @@ jobs:
9798

9899
- name: Test
99100
run: |
100-
npm run test:unit -- -h -b edge `
101+
npm run test:unit -- `
102+
--headless -b edge `
101103
-c ${{ matrix.CONFIGS.config }}
102104
103105
safari:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
"build": "grunt build",
4949
"lint": "grunt lint",
5050
"test:server": "jtr serve",
51-
"test:unit": "jtr run",
52-
"test": "grunt && npm run test:unit -- -h"
51+
"test:unit": "jtr",
52+
"test": "grunt && npm run test:unit -- --headless"
5353
},
5454
"dependencies": {
5555
"jquery": ">=1.12.0 <5.0.0"

0 commit comments

Comments
 (0)