mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 14:44:31 +00:00
Chore: Fix eslint errors
This commit is contained in:
parent
55e84d3e9d
commit
aa4a1ada02
@ -1,3 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
rootDir: __dirname,
|
||||
setupFilesAfterEnv: ['<rootDir>/test/unit.setup.js'],
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
displayName: 'API integration tests',
|
||||
testMatch: ['**/?(*.)+(spec|test).api.js'],
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const baseConfig = require('./jest.base-config.front');
|
||||
|
||||
module.exports = {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
// See https://github.com/swc-project/swc/issues/6460
|
||||
// SWC is not able to include the core-js polyfill for
|
||||
// SWC is not able to include the core-js polyfill for
|
||||
// array/at automatically at the moment of writing, which
|
||||
// makes some frontend tests fail on node@14.
|
||||
require('core-js/actual/array/at');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user