make async node tests actually fail when they fail. Update tests that were failing

This commit is contained in:
d98762625 2019-10-07 17:41:51 +01:00
parent 06708949a1
commit 210daf7324
5 changed files with 105 additions and 82 deletions

View file

@ -104,8 +104,6 @@ class TestRegister {
* Run all api related tests and wrap results in report format
*/
runApiTests() {
console.log("Running tests...");
return Promise.all(this.apiTests.map(async function(test, i) {
const result = {
test: test,