test(Refactored notes tests from Karma to Jest):

fix #58829

Added changelog entry

Added merge request id
This commit is contained in:
Martin Hobert 2019-04-25 14:21:38 +00:00 committed by Phil Hughes
parent 69f0ae40b2
commit c005c97914
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;