owncast/web/jest.config.js

7 lines
258 B
JavaScript
Raw Normal View History

module.exports = {
2023-04-18 01:34:29 +03: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'],
};