mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 15:07:55 -05:00
20 lines
425 B
JavaScript
20 lines
425 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/$1',
|
|
// Mock CSS imports
|
|
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
|
|
},
|
|
testMatch: ['**/__tests__/**/*.test.ts'],
|
|
transform: {
|
|
'^.+\\.(ts|tsx)$': [
|
|
'ts-jest',
|
|
{
|
|
tsconfig: 'tsconfig.json',
|
|
},
|
|
],
|
|
},
|
|
}
|