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/security_configuration/components/utils.js')
-rw-r--r--spec/frontend/security_configuration/components/utils.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/frontend/security_configuration/components/utils.js b/spec/frontend/security_configuration/components/utils.js
new file mode 100644
index 00000000000..a4e992afb15
--- /dev/null
+++ b/spec/frontend/security_configuration/components/utils.js
@@ -0,0 +1,8 @@
+export const makeFeature = (changes = {}) => ({
+ name: 'Foo Feature',
+ description: 'Lorem ipsum Foo',
+ type: 'foo_scanning',
+ helpPath: '/help/foo',
+ configurationHelpPath: '/help/foo#configure',
+ ...changes,
+});