gitlab-org--gitlab-foss/spec/frontend/security_configuration/components/utils.js

9 lines
220 B
JavaScript

export const makeFeature = (changes = {}) => ({
name: 'Foo Feature',
description: 'Lorem ipsum Foo',
type: 'foo_scanning',
helpPath: '/help/foo',
configurationHelpPath: '/help/foo#configure',
...changes,
});