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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
7f8585c6
Commit
7f8585c6
authored
Jul 11, 2019
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update setImmediate use in karma specs
parent
97482acb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
spec/javascripts/helpers/vuex_action_helper.js
spec/javascripts/helpers/vuex_action_helper.js
+2
-1
spec/javascripts/test_bundle.js
spec/javascripts/test_bundle.js
+1
-0
No files found.
spec/javascripts/helpers/vuex_action_helper.js
View file @
7f8585c6
...
...
@@ -89,7 +89,8 @@ export default (
payload
,
);
return
Promise
.
resolve
(
result
)
return
new
Promise
(
setImmediate
)
.
then
(()
=>
result
)
.
catch
(
error
=>
{
validateResults
();
throw
error
;
...
...
spec/javascripts/test_bundle.js
View file @
7f8585c6
...
...
@@ -3,6 +3,7 @@
*/
import
$
from
'
jquery
'
;
import
'
core-js/features/set-immediate
'
;
import
'
vendor/jasmine-jquery
'
;
import
'
~/commons
'
;
import
Vue
from
'
vue
'
;
...
...
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