mirror of
https://github.com/strapi/strapi.git
synced 2025-07-29 03:50:26 +00:00
15 lines
335 B
JavaScript
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'],
|
|
},
|
|
};
|