Fixed test retry in browsers.

This commit is contained in:
Richard Moore 2020-09-05 01:14:25 -04:00
parent 18fdb96fe1
commit 681f2a50b2
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
2 changed files with 4 additions and 1 deletions

@ -40,7 +40,9 @@ const KarmaReporter = function () {
lastSuite = result.suite[0];
}
runner.emit('test');
runner.emit('test', {
_currentRetry: 0
});
if (result.skipped) {
runner.emit('skipped');

@ -83,6 +83,7 @@ export default commandLineArgs => {
format: format,
name: "testing"
},
context: "window",
treeshake: false,
plugins: plugins
};