Commit c8c54670 authored by Paul Slaughter's avatar Paul Slaughter

Fix eslint disable frontend_integration fixtures

- This fixes an issue where some local environments
  with all fixtures generated will trigger an
  `Unused eslint-disable directive` error.
parent 977a54a9
/* eslint-disable global-require, import/no-unresolved */
/* eslint-disable global-require */
// We use "require" rather than `fs` so that this works in a browser environment.
/* eslint "import/no-unresolved": 0 */
// We don't want to require *all* fixtures to be generated (especailly in a local environment).
// We use `eslint` instead of `eslint-disable`, so that we also don't trigger an `Unused eslint-disable directive` when all fixtures are present.
import { memoize } from 'lodash';
const createFactoryWithDefault = (fn, defaultValue) => () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment