build ok,
This commit is contained in:
15
002_source/cms/jest.config.mjs
Normal file
15
002_source/cms/jest.config.mjs
Normal file
@@ -0,0 +1,15 @@
|
||||
import nextJest from 'next/jest.js';
|
||||
|
||||
const createJestConfig = nextJest({
|
||||
dir: './',
|
||||
});
|
||||
|
||||
/** @type {import('jest').Config} */
|
||||
const config = {
|
||||
testEnvironment: 'jest-environment-jsdom',
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1',
|
||||
},
|
||||
};
|
||||
|
||||
export default createJestConfig(config);
|
Reference in New Issue
Block a user