Commit 3536c51b authored by 🕺 Winnie 🕺's avatar 🕺 Winnie 🕺 Committed by Mike Greiling

Remove Jasmine hack from Karma setup

parent 6ddf2ab9
...@@ -81,14 +81,6 @@ window.addEventListener('unhandledrejection', (event) => { ...@@ -81,14 +81,6 @@ window.addEventListener('unhandledrejection', (event) => {
console.error(event.reason.stack || event.reason); 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; let longRunningTestTimeoutHandle;
beforeEach((done) => { beforeEach((done) => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment