0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/ui/jest.config.ts

11 lines
276 B
TypeScript

import { merge, Config } from '@silverhand/jest-config';
const config: Config.InitialOptions = merge({
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['<rootDir>/src/jest.setup.ts'],
transform: {
'\\.(svg)$': 'jest-transformer-svg',
},
});
export default config;