JS: minor fixes in kotlin-test-js-it

Jasmine version 2.6.0 doesn't support Promise-based
asynchronous tests.
Also the error message for an unexpected test result was incorrect.
This commit is contained in:
Anton Bannykh
2018-01-19 19:45:56 +03:00
parent f4ad5182b8
commit ff00831109
2 changed files with 2 additions and 2 deletions
@@ -30,7 +30,7 @@ Tester.prototype._check = function (name, result) {
}
if (result !== expected) {
this._errors.push('Unexpected test: "' + name + '"');
this._errors.push('Test "' + name + '" expected result "' + expected + '", actual result "' + result + '"');
return;
}
+1 -1
View File
@@ -7,7 +7,7 @@
"test-tape": "tape js/tape-reporter.js js/tape-plugin.js build/classes/kotlin/test/kotlin-test-js-it_test.js"
},
"devDependencies": {
"jasmine": "^2.6.0",
"jasmine": "^2.9.0",
"jest": "^20.0.4",
"mocha": "^3.4.2",
"qunit": "^1.0.0",