summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-01-23 10:06:41 -0600
committerMike Greiling <mike@pixelcog.com>2018-01-23 10:06:41 -0600
commit52dbeaf81755c5570b251ca08e1ba209008bc391 (patch)
treea5f0e2fac14c4dddcc44527f9cd6da7834973c3f
parent33e727de96c0bd4289fa9fb8ff2bea3e0f6a36fd (diff)
downloadgitlab-ce-33795-remove-jasmine-async-hack-once-jasmine-has-been-updated.tar.gz
remove jasmine async hack now that it is not needed33795-remove-jasmine-async-hack-once-jasmine-has-been-updated
-rw-r--r--spec/javascripts/test_bundle.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js
index 2f6691df9cd..e1d6c0a4a17 100644
--- a/spec/javascripts/test_bundle.js
+++ b/spec/javascripts/test_bundle.js
@@ -44,14 +44,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());
-
const builtinVueHttpInterceptors = Vue.http.interceptors.slice();
beforeEach(() => {