diff options
Diffstat (limited to 'spec/frontend_integration/test_helpers/fixtures.js')
-rw-r--r-- | spec/frontend_integration/test_helpers/fixtures.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend_integration/test_helpers/fixtures.js b/spec/frontend_integration/test_helpers/fixtures.js index 46946ed71f2..fde3fd8cb63 100644 --- a/spec/frontend_integration/test_helpers/fixtures.js +++ b/spec/frontend_integration/test_helpers/fixtures.js @@ -10,9 +10,9 @@ const createFactoryWithDefault = (fn, defaultValue) => () => { }; const factory = { - json: fn => createFactoryWithDefault(fn, { error: 'fixture not found' }), - text: fn => createFactoryWithDefault(fn, 'Hello world\nHow are you today?\n'), - binary: fn => createFactoryWithDefault(fn, ''), + json: (fn) => createFactoryWithDefault(fn, { error: 'fixture not found' }), + text: (fn) => createFactoryWithDefault(fn, 'Hello world\nHow are you today?\n'), + binary: (fn) => createFactoryWithDefault(fn, ''), }; export const getProject = factory.json(() => require('test_fixtures/api/projects/get.json')); |