Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3536c51b
Commit
3536c51b
authored
Nov 06, 2020
by
🕺 Winnie 🕺
Committed by
Mike Greiling
Jan 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Jasmine hack from Karma setup
parent
6ddf2ab9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
spec/javascripts/test_bundle.js
spec/javascripts/test_bundle.js
+0
-8
No files found.
spec/javascripts/test_bundle.js
View file @
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
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment