mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
Lint fixes
This commit is contained in:
parent
9748d702ad
commit
2431149912
@ -1,12 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
// Test an API with all the possible filed types and simple filterings (no deep filtering, no relations)
|
||||
const { omit } = require('lodash/fp');
|
||||
const { createTestBuilder } = require('../../../test/helpers/builder');
|
||||
const { createStrapiInstance } = require('../../../test/helpers/strapi');
|
||||
const { createAuthRequest } = require('../../../test/helpers/request');
|
||||
|
||||
const { omit } = require('lodash/fp');
|
||||
|
||||
const CREATOR_FIELDS = ['updated_by', 'created_by'];
|
||||
|
||||
const builder = createTestBuilder();
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
|
||||
const path = require('path');
|
||||
const _ = require('lodash');
|
||||
const glob = require('./glob');
|
||||
const fse = require('fs-extra');
|
||||
const glob = require('./glob');
|
||||
const filePathToPath = require('./filepath-to-prop-path');
|
||||
|
||||
/**
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
// eslint-disable-next-line node/no-extraneous-require
|
||||
const { flatMap, uniq, negate } = require('lodash/fp');
|
||||
const glob = require('glob');
|
||||
const path = require('path');
|
||||
const chalk = require('chalk');
|
||||
|
||||
const fileExtension = '.test.e2e.js';
|
||||
|
||||
@ -5,9 +5,9 @@ const _ = require('lodash');
|
||||
// eslint-disable-next-line node/no-extraneous-require
|
||||
const { map, prop } = require('lodash/fp');
|
||||
const modelsUtils = require('../models');
|
||||
const { sanitizeEntity } = require('../../../packages/strapi-utils');
|
||||
const { createAction } = require('./action');
|
||||
const { createEventsManager } = require('./event');
|
||||
const { sanitizeEntity } = require('../../../packages/strapi-utils');
|
||||
|
||||
const events = {
|
||||
MODEL_CREATED: 'model.created',
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
// eslint-disable-next-line node/no-extraneous-require
|
||||
const _ = require('lodash');
|
||||
const path = require('path');
|
||||
const { createUtils } = require('./utils');
|
||||
const strapi = require('../../packages/strapi/lib');
|
||||
const { createUtils } = require('./utils');
|
||||
|
||||
const superAdminCredentials = {
|
||||
email: 'admin@strapi.io',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user