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
Léo-Paul Géneau
gitlab-ce
Commits
c005c979
Commit
c005c979
authored
Apr 25, 2019
by
Martin Hobert
Committed by
Phil Hughes
Apr 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test(Refactored notes tests from Karma to Jest):
fix #58829 Added changelog entry Added merge request id
parent
69f0ae40
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/refactor-58829-migrate-notes-spec-to-jest.yml
.../unreleased/refactor-58829-migrate-notes-spec-to-jest.yml
+5
-0
spec/frontend/vue_shared/components/notes/placeholder_note_spec.js
...tend/vue_shared/components/notes/placeholder_note_spec.js
+1
-1
spec/frontend/vue_shared/components/notes/placeholder_system_note_spec.js
...e_shared/components/notes/placeholder_system_note_spec.js
+1
-1
spec/frontend/vue_shared/components/notes/system_note_spec.js
.../frontend/vue_shared/components/notes/system_note_spec.js
+0
-0
No files found.
changelogs/unreleased/refactor-58829-migrate-notes-spec-to-jest.yml
0 → 100644
View file @
c005c979
---
title
:
'
Refactored
notes
tests
from
Karma
to
Jest'
merge_request
:
27648
author
:
Martin Hobert
type
:
other
spec/
javascripts
/vue_shared/components/notes/placeholder_note_spec.js
→
spec/
frontend
/vue_shared/components/notes/placeholder_note_spec.js
View file @
c005c979
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
issuePlaceholderNote
from
'
~/vue_shared/components/notes/placeholder_note.vue
'
;
import
issuePlaceholderNote
from
'
~/vue_shared/components/notes/placeholder_note.vue
'
;
import
createStore
from
'
~/notes/stores
'
;
import
createStore
from
'
~/notes/stores
'
;
import
{
userDataMock
}
from
'
../../../notes/mock_data
'
;
import
{
userDataMock
}
from
'
../../../
../javascripts/
notes/mock_data
'
;
describe
(
'
issue placeholder system note component
'
,
()
=>
{
describe
(
'
issue placeholder system note component
'
,
()
=>
{
let
store
;
let
store
;
...
...
spec/
javascripts
/vue_shared/components/notes/placeholder_system_note_spec.js
→
spec/
frontend
/vue_shared/components/notes/placeholder_system_note_spec.js
View file @
c005c979
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
placeholderSystemNote
from
'
~/vue_shared/components/notes/placeholder_system_note.vue
'
;
import
placeholderSystemNote
from
'
~/vue_shared/components/notes/placeholder_system_note.vue
'
;
import
mountComponent
from
'
spec/
helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
describe
(
'
placeholder system note component
'
,
()
=>
{
describe
(
'
placeholder system note component
'
,
()
=>
{
let
PlaceholderSystemNote
;
let
PlaceholderSystemNote
;
...
...
spec/
javascripts
/vue_shared/components/notes/system_note_spec.js
→
spec/
frontend
/vue_shared/components/notes/system_note_spec.js
View file @
c005c979
File moved
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