diff options
Diffstat (limited to 'spec/frontend/jira_connect/branches/mock_data.js')
-rw-r--r-- | spec/frontend/jira_connect/branches/mock_data.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/spec/frontend/jira_connect/branches/mock_data.js b/spec/frontend/jira_connect/branches/mock_data.js new file mode 100644 index 00000000000..742ab5392c8 --- /dev/null +++ b/spec/frontend/jira_connect/branches/mock_data.js @@ -0,0 +1,30 @@ +export const mockProjects = [ + { + id: 'test', + name: 'test', + nameWithNamespace: 'test', + avatarUrl: 'https://gitlab.com', + path: 'test-path', + fullPath: 'test-path', + repository: { + empty: false, + }, + userPermissions: { + pushCode: true, + }, + }, + { + id: 'gitlab', + name: 'GitLab', + nameWithNamespace: 'gitlab-org/gitlab', + avatarUrl: 'https://gitlab.com', + path: 'gitlab', + fullPath: 'gitlab-org/gitlab', + repository: { + empty: false, + }, + userPermissions: { + pushCode: true, + }, + }, +]; |