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
5f58e402
Commit
5f58e402
authored
Jan 27, 2020
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add window.scrollTo shim in Jest
**Why?** This way needed by `job_app_spec`
parent
c274e589
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
spec/frontend/helpers/dom_shims/index.js
spec/frontend/helpers/dom_shims/index.js
+1
-0
spec/frontend/helpers/dom_shims/window_scroll_to.js
spec/frontend/helpers/dom_shims/window_scroll_to.js
+1
-0
No files found.
spec/frontend/helpers/dom_shims/index.js
View file @
5f58e402
import
'
./get_client_rects
'
;
import
'
./inner_text
'
;
import
'
./window_scroll_to
'
;
spec/frontend/helpers/dom_shims/window_scroll_to.js
0 → 100644
View file @
5f58e402
window
.
scrollTo
=
jest
.
fn
();
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