-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Change test setup so it will output to both console and xml
Also added some additional configuration for using chaip-as-promised
- Loading branch information
1 parent
bde6830
commit 55106dd
Showing
6 changed files
with
79 additions
and
1,183 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,7 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
require: ['ts-node/register', './test/setup'], | ||
reporter: 'mocha-multi', | ||
reporterOptions: 'spec=-,xunit=test-results/mocha/results.xml' | ||
}; |
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,6 @@ | ||
'use strict'; | ||
|
||
const chai = require('chai'); | ||
|
||
chai.use(require('chai-as-promised')) | ||
chai.use(require('sinon-chai')); |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -8,6 +8,6 @@ | |
}, | ||
"include": [ | ||
"src/**/*.ts", | ||
"tests/**/*.ts" | ||
"test/**/*.ts" | ||
] | ||
} |
Oops, something went wrong.