Skip to content

Commit

Permalink
gh-35: Creates separate script entries for node, core, and Web Audio …
Browse files Browse the repository at this point in the history
…tests.

Narrows the list of browsers we test with using Testem's launch option.
  • Loading branch information
colinbdclark committed Mar 1, 2023
1 parent 1f8f084 commit 47c3254
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
},
"scripts": {
"prepare": "npx grunt",
"browser-webaudio-test": "npx testem ci --file tests/testem-webaudio.json",
"browser-test": "npm run browser-webaudio-test && npx testem ci --file tests/testem.json",
"browser-core-test": "npx testem ci --file tests/testem.json",
"webaudio-test": "npx testem ci --file tests/testem-webaudio.json",
"node-test": "node tests/node-all-tests.js",
"test": "npm run node-test && npm run browser-test"
"test": "npm run node-test && npm run webaudio-test && npm run browser-core-test"
}
}
2 changes: 1 addition & 1 deletion tests/testem-webaudio.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"test_page": "tests/html/audiocontext-clock-tests.html",
"timeout": 300,
"skip": "PhantomJS,IE,Firefox,Headless Firefox,Safari,Brave,Headless Brave,Headless Chrome",
"launch": "Chrome",
"browser_args": {
"Chrome": [
"--autoplay-policy=no-user-gesture-required"
Expand Down
2 changes: 1 addition & 1 deletion tests/testem.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"test_page": "tests/all-tests.html",
"timeout": 300,
"skip": "PhantomJS,IE"
"launch": "Firefox,Chrome,Safari"
}

0 comments on commit 47c3254

Please sign in to comment.