Files
actual/packages/loot-core/jest.web.config.js
2025-03-18 06:13:11 +00:00

21 lines
458 B
JavaScript

module.exports = {
moduleFileExtensions: [
'web.js',
'web.ts',
'web.tsx',
'mjs',
'js',
'ts',
'tsx',
'json',
],
testEnvironment: 'jsdom',
testPathIgnorePatterns: ['/node_modules/', '/lib/'].filter(Boolean),
testMatch: ['**/*.web.test.(js|ts|tsx)'],
transformIgnorePatterns: ['/node_modules/(?!absurd-sql)'],
transform: {
'\\.pegjs$': '<rootDir>/peg-transform.mjs',
'^.+\\.(t|j)sx?$': '@swc/jest',
},
};