telegram-tt/jest.config.js
2021-08-16 14:21:20 +03:00

14 lines
416 B
JavaScript

module.exports = {
setupFilesAfterEnv: ['./tests/init.js'],
moduleNameMapper: {
'\\.(css|scss|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|tgs)$':
'<rootDir>/tests/staticFileMock.js',
},
testPathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/legacy_notes_and_workbook/',
'<rootDir>/client/src/stylesheets/',
],
testEnvironment: 'jsdom',
};