-
-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 2743-secureConnection
- Loading branch information
Showing
46 changed files
with
4,916 additions
and
5,682 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,5 @@ | ||
#!/usr/bin/env node | ||
#!/bin/sh | ||
|
||
'use strict'; | ||
TESTS=${1:-"tests tests/outbound tests/plugins/auth tests/plugins/queue tests/plugins"} | ||
|
||
let reporter; | ||
try { | ||
reporter = require('nodeunit-x').reporters.default; | ||
} | ||
catch (e) { | ||
console.log(`Error: ${e.message} | ||
Cannot find nodeunit module. Please run the following: | ||
npm install\n`); | ||
|
||
process.exit(); | ||
} | ||
|
||
process.chdir(__dirname); | ||
|
||
let tests = [ | ||
'tests', 'tests/outbound', 'tests/plugins', | ||
'tests/plugins/auth', 'tests/plugins/queue' | ||
]; | ||
|
||
if (process.argv[2]) { | ||
console.log("Running tests: ", process.argv.slice(2)); | ||
tests = process.argv.slice(2); | ||
} | ||
reporter.run(tests, undefined, function (err) { | ||
process.exit(((err) ? 1 : 0)); | ||
}); | ||
npx mocha --exit $TESTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.