Skip to content

Commit

Permalink
Fixed test retry in browsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Sep 5, 2020
1 parent 18fdb96 commit 681f2a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/tests/karma-reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 1 addition & 0 deletions rollup-tests.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export default commandLineArgs => {
format: format,
name: "testing"
},
context: "window",
treeshake: false,
plugins: plugins
};
Expand Down

0 comments on commit 681f2a5

Please sign in to comment.