Commit d954932b authored by Paul Slaughter's avatar Paul Slaughter

Use fake date in edit_spec

parent dcbf3514
...@@ -3,6 +3,7 @@ import { GlLoadingIcon } from '@gitlab/ui'; ...@@ -3,6 +3,7 @@ import { GlLoadingIcon } from '@gitlab/ui';
import { shallowMount, createLocalVue } from '@vue/test-utils'; import { shallowMount, createLocalVue } from '@vue/test-utils';
import { nextTick } from 'vue'; import { nextTick } from 'vue';
import { merge } from 'lodash'; import { merge } from 'lodash';
import { useFakeDate } from 'helpers/fake_date';
import waitForPromises from 'helpers/wait_for_promises'; import waitForPromises from 'helpers/wait_for_promises';
import createMockApollo from 'helpers/mock_apollo_helper'; import createMockApollo from 'helpers/mock_apollo_helper';
import { stubComponent } from 'helpers/stub_component'; import { stubComponent } from 'helpers/stub_component';
...@@ -94,6 +95,8 @@ const localVue = createLocalVue(); ...@@ -94,6 +95,8 @@ const localVue = createLocalVue();
localVue.use(VueApollo); localVue.use(VueApollo);
describe('Snippet Edit app', () => { describe('Snippet Edit app', () => {
useFakeDate();
let wrapper; let wrapper;
let getSpy; let getSpy;
......
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