svg-in-png
Version:
export SVG into image, its work with recharts and any other image svg
15 lines (13 loc) • 385 B
text/typescript
import type {Config} from '@jest/types';
const config: Config.InitialOptions = {
verbose: true,
preset: 'ts-jest',
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
//collectCoverage: true,
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.ts?$',
transform: {
'^.+\\.ts?$': 'ts-jest'
},
testEnvironment: "jsdom"
};
export default config;