diff options
Diffstat (limited to 'spec/frontend/static_site_editor/mock_data.js')
-rw-r--r-- | spec/frontend/static_site_editor/mock_data.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/frontend/static_site_editor/mock_data.js b/spec/frontend/static_site_editor/mock_data.js index 0b08e290227..8bc65c6ce31 100644 --- a/spec/frontend/static_site_editor/mock_data.js +++ b/spec/frontend/static_site_editor/mock_data.js @@ -27,6 +27,7 @@ export const sourceContentTitle = 'Handbook'; export const username = 'gitlabuser'; export const projectId = '123456'; +export const project = 'user1/project1'; export const returnUrl = 'https://www.gitlab.com'; export const sourcePath = 'foobar.md.html'; export const mergeRequestMeta = { @@ -47,6 +48,10 @@ export const savedContentMeta = { url: 'foobar/-/merge_requests/123', }, }; +export const mergeRequestTemplates = [ + { key: 'Template1', name: 'Template 1', content: 'This is template 1!' }, + { key: 'Template2', name: 'Template 2', content: 'This is template 2!' }, +]; export const submitChangesError = 'Could not save changes'; export const commitBranchResponse = { @@ -67,3 +72,20 @@ export const images = new Map([ ['path/to/image1.png', 'image1-content'], ['path/to/image2.png', 'image2-content'], ]); + +export const mounts = [ + { + source: 'default/source/', + target: '', + }, + { + source: 'source/with/target', + target: 'target', + }, +]; + +export const branch = 'master'; + +export const baseUrl = '/user1/project1/-/sse/master%2Ftest.md'; + +export const imageRoot = 'source/images/'; |