AstroCol/jest.config.cjs

12 lines
269 B
JavaScript

require('dotenv').config()
module.exports = {
preset: 'ts-jest',
transform: {
'^.+\\.(ts|tsx)?$': 'ts-jest',
'^.+\\.(js|jsx)$': 'babel-jest',
},
testEnvironment: 'node',
rootDir: '.',
testMatch: ['<rootDir>/test/**/*.test.ts'],
};