vega-frontend-monorepo/libs/wallet-react/jest.config.ts

13 lines
424 B
TypeScript
Raw Normal View History

/* eslint-disable */
export default {
displayName: 'wallet-react',
preset: '../../jest.preset.js',
transform: {
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nx/react/plugins/jest',
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/react/babel'] }],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../coverage/libs/wallet-react',
setupFilesAfterEnv: ['./src/setup-tests.ts'],
};