Merge branch 'refactor/58829-migrate-notes-spec-to-jest' into 'master'

Refactor/58829 migrate notes spec to jest

Closes #58829

See merge request gitlab-org/gitlab-ce!27648
This commit is contained in:
Phil Hughes 2019-04-25 14:21:40 +00:00
commit 1e2d4a217a
4 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
title: 'Refactored notes tests from Karma to Jest'
merge_request: 27648
author: Martin Hobert
type: other

View file

@ -1,7 +1,7 @@
import Vue from 'vue';
import issuePlaceholderNote from '~/vue_shared/components/notes/placeholder_note.vue';
import createStore from '~/notes/stores';
import { userDataMock } from '../../../notes/mock_data';
import { userDataMock } from '../../../../javascripts/notes/mock_data';
describe('issue placeholder system note component', () => {
let store;

View file

@ -1,6 +1,6 @@
import Vue from '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', () => {
let PlaceholderSystemNote;