Commit 1e2d4a21 authored by Phil Hughes's avatar Phil Hughes

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
parents 69f0ae40 c005c979
---
title: 'Refactored notes tests from Karma to Jest'
merge_request: 27648
author: Martin Hobert
type: other
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;
......
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment