Commit 04e1fe01 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'winniehell-master-patch-58117' into 'master'

Remove Jasmine hack from Karma setup

See merge request gitlab-org/gitlab!47106
parents 1252d865 3536c51b
......@@ -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) => {
......
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