Merge branch 'hotfix/21.56.9' into master
[gitter.git] / jest.config.js
blobb44895ec581ee48735d3e0ff2e673489cf9e45a9
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   modulePathIgnorePatterns: ['<rootDir>/output/app/'],
10   transform: {
11     '^.+\\.js$': 'babel-jest',
12     '^.+\\.vue$': 'vue-jest',
13     '^.+\\.hbs$': 'jest-handlebars'
14   },
15   resolver: '<rootDir>/test/jest-browser-resolver.js'