Commit 95139c06 authored by Alexander Turinske's avatar Alexander Turinske

Update tests

parent e0e14dff
...@@ -5,8 +5,7 @@ import WikiAlert from '~/pages/shared/wikis/components/wiki_alert.vue'; ...@@ -5,8 +5,7 @@ import WikiAlert from '~/pages/shared/wikis/components/wiki_alert.vue';
describe('WikiAlert', () => { describe('WikiAlert', () => {
let wrapper; let wrapper;
const ERROR = 'There is already a page with the same title in that path.'; const ERROR = 'There is already a page with the same title in that path.';
const ERROR_WITH_LINK = const ERROR_WITH_LINK = 'Before text %{wikiLinkStart}the page%{wikiLinkEnd} after text.';
'Someone edited the page the same time you did. Please check out %{wikiLinkStart}the page%{wikiLinkEnd} and make sure your changes will not unintentionally remove theirs.';
const PATH = '/test'; const PATH = '/test';
function createWrapper(propsData = {}, stubs = {}) { function createWrapper(propsData = {}, stubs = {}) {
......
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