diff options
Diffstat (limited to 'spec/frontend/blob/components/mock_data.js')
-rw-r--r-- | spec/frontend/blob/components/mock_data.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/frontend/blob/components/mock_data.js b/spec/frontend/blob/components/mock_data.js index 6ecf5091591..7ed526fba97 100644 --- a/spec/frontend/blob/components/mock_data.js +++ b/spec/frontend/blob/components/mock_data.js @@ -30,6 +30,10 @@ export const Blob = { richViewer: { ...RichViewerMock, }, + ideEditPath: 'ide/edit', + editBlobPath: 'edit/blob', + gitpodBlobUrl: 'gitpod/blob/url', + pipelineEditorPath: 'pipeline/editor/path', }; export const BinaryBlob = { @@ -60,3 +64,14 @@ export const SimpleBlobContentMock = { export const mockEnvironmentName = 'my.testing.environment'; export const mockEnvironmentPath = 'https://my.testing.environment'; + +export const userInfoMock = { + currentUser: { + id: '123', + gitpodEnabled: true, + preferencesGitpodPath: '/-/profile/preferences#user_gitpod_enabled', + profileEnableGitpodPath: '/-/profile?user%5Bgitpod_enabled%5D=true', + }, +}; + +export const applicationInfoMock = { gitpodEnabled: true }; |