Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2018-03-02 23:40:07 +0300
committerFeross Aboukhadijeh <feross@feross.org>2018-03-02 23:40:07 +0300
commiteb3ea14960302eeb950c45369c9bf9463724cad0 (patch)
tree4e50073cbe8d1fcbba0a4956f079b007e33fccc7 /bin
parent18cf763c28e378c468b58015430d5bfba8b49299 (diff)
Remove bin/test.js
Rely on airtap to skip the browser tests in Travis PRs. No need for our custom script!
Diffstat (limited to 'bin')
-rw-r--r--bin/test.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/test.js b/bin/test.js
deleted file mode 100644
index f1be65f..0000000
--- a/bin/test.js
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env node
-
-var spawn = require('cross-spawn')
-
-var runSauceLabs = !process.env.CI ||
- (process.env.SAUCE_USERNAME && process.env.SAUCE_ACCESS_KEY)
-
-npmRun('test-node', function () {
- if (runSauceLabs) {
- npmRun('test-browser')
- }
-})
-
-function npmRun (scriptName, onSuccess) {
- spawn('npm', ['run', scriptName], { stdio: 'inherit' }).on('close', function (code) {
- if (code === 0 && onSuccess) {
- onSuccess(code)
- } else {
- process.exit(code)
- }
- })
-}