Chore: Fix eslint errors

This commit is contained in:
Gustav Hansen 2022-11-16 16:31:01 +01:00
parent 55e84d3e9d
commit aa4a1ada02
4 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,5 @@
'use strict';
module.exports = {
rootDir: __dirname,
setupFilesAfterEnv: ['<rootDir>/test/unit.setup.js'],

View File

@ -1,3 +1,5 @@
'use strict';
module.exports = {
displayName: 'API integration tests',
testMatch: ['**/?(*.)+(spec|test).api.js'],

View File

@ -1,3 +1,5 @@
'use strict';
const baseConfig = require('./jest.base-config.front');
module.exports = {

View File

@ -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');