diff options
Diffstat (limited to 'spec/javascripts/test_bundle.js')
-rw-r--r-- | spec/javascripts/test_bundle.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js index 59136de0b0d..faa07775aaa 100644 --- a/spec/javascripts/test_bundle.js +++ b/spec/javascripts/test_bundle.js @@ -81,14 +81,6 @@ window.addEventListener('unhandledrejection', (event) => { console.error(event.reason.stack || event.reason); }); -// HACK: Chrome 59 disconnects if there are too many synchronous tests in a row -// because it appears to lock up the thread that communicates to Karma's socket -// This async beforeEach gets called on every spec and releases the JS thread long -// enough for the socket to continue to communicate. -// The downside is that it creates a minor performance penalty in the time it takes -// to run our unit tests. -beforeEach((done) => done()); - let longRunningTestTimeoutHandle; beforeEach((done) => { |