owncast/web/jest.config.js

7 lines
258 B
JavaScript
Raw Permalink Normal View History

module.exports = {
2023-04-18 00:34:29 +02:00
transform: { '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { presets: ['next/babel'] }] },
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
};