-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test fixes - don't use NodeRSA in tests - stub fs operations whenever possible - stub public key operations whenever possible - interval until activeSeeker is available Signed-off-by: Rick Waldron <waldron.rick@gmail.com> * ci: less specific node version in appveyor Signed-off-by: Rick Waldron <waldron.rick@gmail.com> * ci: clean up `grunt test` Signed-off-by: Rick Waldron <waldron.rick@gmail.com> * ci: more testing on windows Signed-off-by: Rick Waldron <waldron.rick@gmail.com> * ci: before_test Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
- Loading branch information
Showing
11 changed files
with
174 additions
and
150 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ before_install: | |
- npm install -g grunt-cli | ||
|
||
install: npm install | ||
script: grunt | ||
script: grunt test |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
function MockRSA() {} | ||
|
||
MockRSA.prototype.exportKey = function() {}; | ||
|
||
module.exports = global.IS_TEST_ENV ? MockRSA : require('node-rsa'); |
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
Oops, something went wrong.