mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
12 lines
357 B
TypeScript
12 lines
357 B
TypeScript
import client from '@rocket.chat/jest-presets/client';
|
|
import type { Config } from 'jest';
|
|
|
|
export default {
|
|
preset: client.preset,
|
|
setupFilesAfterEnv: [...client.setupFilesAfterEnv],
|
|
moduleNameMapper: {
|
|
'^react($|/.+)': '<rootDir>/../../node_modules/react$1',
|
|
'^react-dom($|/.+)': '<rootDir>/../../node_modules/react-dom$1',
|
|
},
|
|
} satisfies Config;
|