strapi/packages/core/helper-plugin/jest.config.front.js
Josh 885aa13160 refactor: useRBAC hook to stop infinite loop
chore: add test setup to helper-plugin

test: add useRBAC suite

refactor: useRBAC hook to stop infinite loop

chore: shuffle around and add jsdocs
2023-06-29 11:56:36 +01:00

10 lines
289 B
JavaScript

module.exports = {
preset: '../../../jest-preset.front.js',
collectCoverageFrom: ['<rootDir>/packages/core/helper-plugin/src/**/*.js'],
displayName: 'Helper plugin',
moduleNameMapper: {
'^@tests/(.*)$': '<rootDir>/tests/$1',
},
setupFilesAfterEnv: ['./tests/setup.js'],
};