UNPKG

pkg-components

Version:
15 lines (14 loc) 481 B
/** @type {import('ts-jest').JestConfigWithTsJest} */ module.exports = { preset: 'ts-jest', testEnvironment: 'jsdom', setupFilesAfterEnv: ['<rootDir>/.storybook/jest-setup.ts'], transform: { '^.+\\.(ts|tsx|js|jsx)$': 'ts-jest', }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], testMatch: ['**/__tests__/**/*.(test|spec).[jt]s?(x)', '**/?(*.)+(test|spec).[jt]s?(x)'], moduleNameMapper: { '\\.(css|scss|sass)$': 'identity-obj-proxy', }, }