-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from gino247/testsuite-addition
Testsuite addition
- Loading branch information
Showing
6 changed files
with
211 additions
and
159 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
require: [ | ||
'./test/setup.spec.js', | ||
], | ||
spec: './test/unit/**/*.js' | ||
}; |
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,9 @@ | ||
{ | ||
"check-coverage": true, | ||
"extension": [ | ||
".js" | ||
], | ||
"include": [ | ||
"lambda/**/*" | ||
] | ||
} |
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,12 @@ | ||
'use strict'; | ||
|
||
const sinon = require('sinon'); | ||
|
||
// hide all logging for tests | ||
// comment out the line which | ||
// you would like to see logged | ||
// during test run | ||
sinon.stub(console, 'log'); | ||
sinon.stub(console, 'info'); | ||
sinon.stub(console, 'debug'); | ||
sinon.stub(console, 'error'); |
Oops, something went wrong.