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/search/mock_data.js')
-rw-r--r--spec/frontend/search/mock_data.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/frontend/search/mock_data.js b/spec/frontend/search/mock_data.js
new file mode 100644
index 00000000000..68fc432881a
--- /dev/null
+++ b/spec/frontend/search/mock_data.js
@@ -0,0 +1,24 @@
+export const MOCK_QUERY = {
+ scope: 'issues',
+ state: 'all',
+ confidential: null,
+};
+
+export const MOCK_GROUP = {
+ name: 'test group',
+ full_name: 'full name test group',
+ id: 'test_1',
+};
+
+export const MOCK_GROUPS = [
+ {
+ name: 'test group',
+ full_name: 'full name test group',
+ id: 'test_1',
+ },
+ {
+ name: 'test group 2',
+ full_name: 'full name test group 2',
+ id: 'test_2',
+ },
+];