mirror of
https://github.com/strapi/strapi.git
synced 2025-07-30 20:39:05 +00:00

chore: add test setup to helper-plugin test: add useRBAC suite refactor: useRBAC hook to stop infinite loop chore: shuffle around and add jsdocs
10 lines
289 B
JavaScript
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'],
|
|
};
|