File tree 4 files changed +11
-16
lines changed 4 files changed +11
-16
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
+ const assert = require ( "node:assert" ) ;
3
+
4
+ assert ( process . env . BROWSER_NAME ) ;
5
+ assert ( process . env . SAUCE_USERNAME ) ;
6
+ assert ( process . env . SAUCE_ACCESS_KEY ) ;
2
7
3
8
module . exports = {
4
9
driver : "webdriver" ,
Original file line number Diff line number Diff line change 35
35
"test-dev" : " npm run test-node -- -n watch -n watch-path=test --node-option watch-path=lib -R min" ,
36
36
"test-headless" : " mochify --driver puppeteer" ,
37
37
"test-coverage" : " nyc nyc --exclude-after-remap false mochify --driver puppeteer --bundle 'node coverage.cjs'" ,
38
- "test-cloud" : " npm run test-headless -- --wd " ,
38
+ "test-cloud" : " ./scripts/ test-cloud.sh " ,
39
39
"test-webworker" : " mochify --driver puppeteer --serve . test/webworker/webworker-support-assessment.js" ,
40
40
"test-esm-support" : " mocha test/es2015/module-support-assessment-test.mjs" ,
41
41
"test-esm-browser-build" : " node test/es2015/check-esm-bundle-is-runnable.js" ,
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ BROWSER_NAME=MicrosoftEdge mochify -C mochify.webdriver.cjs \
4
+ && BROWSER_NAME=chrome mochify -C mochify.webdriver.cjs \
5
+ && BROWSER_NAME=firefox mochify -C mochify.webdriver.cjs
You can’t perform that action at this time.
0 commit comments