2022-11-23 13:48:48 +01:00

15 lines
335 B
JavaScript

'use strict';
const baseConfig = require('../../../jest.base-config');
const pkg = require('./package.json');
module.exports = {
...baseConfig,
displayName: (pkg.strapi && pkg.strapi.name) || pkg.name,
roots: [__dirname],
testMatch: ['**/__tests__/**/*.test.ts'],
transform: {
'^.+\\.(t|j)sx?$': ['@swc/jest'],
},
};