Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/jira_connect/subscriptions/mock_data.js')
-rw-r--r--spec/frontend/jira_connect/subscriptions/mock_data.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/frontend/jira_connect/subscriptions/mock_data.js b/spec/frontend/jira_connect/subscriptions/mock_data.js
new file mode 100644
index 00000000000..5247a3dc522
--- /dev/null
+++ b/spec/frontend/jira_connect/subscriptions/mock_data.js
@@ -0,0 +1,23 @@
+export const mockGroup1 = {
+ id: 1,
+ avatar_url: 'avatar.png',
+ name: 'Gitlab Org',
+ full_name: 'Gitlab Org',
+ full_path: 'gitlab-org',
+ description: 'Open source software to collaborate on code',
+};
+
+export const mockGroup2 = {
+ id: 2,
+ avatar_url: 'avatar.png',
+ name: 'Gitlab Com',
+ full_name: 'Gitlab Com',
+ full_path: 'gitlab-com',
+ description: 'For GitLab company related projects',
+};
+
+export const mockSubscription = {
+ group: mockGroup1,
+ created_at: '2021-04-14T08:52:23.115Z',
+ unlink_path: '/-/jira_connect/subscriptions/1',
+};