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
e658b337
Commit
e658b337
authored
Apr 08, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace jasmine.createSpy() with jest.fn()
parent
cb892da6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
spec/frontend/error_tracking/components/error_tracking_list_spec.js
...end/error_tracking/components/error_tracking_list_spec.js
+1
-1
spec/frontend/ide/lib/common/disposable_spec.js
spec/frontend/ide/lib/common/disposable_spec.js
+1
-1
spec/frontend/pages/profiles/show/emoji_menu_spec.js
spec/frontend/pages/profiles/show/emoji_menu_spec.js
+1
-1
No files found.
spec/frontend/error_tracking/components/error_tracking_list_spec.js
View file @
e658b337
...
...
@@ -31,7 +31,7 @@ describe('ErrorTrackingList', () => {
actions
=
{
getErrorList
:
()
=>
{},
startPolling
:
()
=>
{},
restartPolling
:
j
asmine
.
createSpy
(
'
restartPolling
'
),
restartPolling
:
j
est
.
fn
().
mockName
(
'
restartPolling
'
),
};
const
state
=
{
...
...
spec/frontend/ide/lib/common/disposable_spec.js
View file @
e658b337
...
...
@@ -8,7 +8,7 @@ describe('Multi-file editor library disposable class', () => {
instance
=
new
Disposable
();
disposableClass
=
{
dispose
:
j
asmine
.
createSpy
(
'
dispose
'
),
dispose
:
j
est
.
fn
().
mockName
(
'
dispose
'
),
};
});
...
...
spec/frontend/pages/profiles/show/emoji_menu_spec.js
View file @
e658b337
...
...
@@ -13,7 +13,7 @@ describe('EmojiMenu', () => {
let
dummyEmojiList
;
beforeEach
(()
=>
{
dummySelectEmojiCallback
=
j
asmine
.
createSpy
(
'
dummySelectEmojiCallback
'
);
dummySelectEmojiCallback
=
j
est
.
fn
().
mockName
(
'
dummySelectEmojiCallback
'
);
dummyEmojiList
=
{
glEmojiTag
()
{
return
dummyEmojiTag
;
...
...
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