Merge tag '21.54.0' into develop
[gitter.git] / jest.config.js
blob99bccb4e0b7baa3b01016377f0be4888a49c7051
1 'use strict';
3 module.exports = {
4   testMatch: ['<rootDir>/public/js/**/*-test.js'],
5   moduleFileExtensions: ['js', 'json', 'vue'],
6   moduleNameMapper: {
7     '\\.(jpg|jpeg|png|svg)$': '<rootDir>/public/js/vue/__mocks__/file_mock.js'
8   },
9   transform: {
10     '^.+\\.js$': 'babel-jest',
11     '^.+\\.vue$': 'vue-jest',
12     '^.+\\.hbs$': 'jest-handlebars'
13   },
14   resolver: '<rootDir>/test/jest-browser-resolver.js'