blob: f0289758dd2a1008dd218132567277988ace575c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* eslint-env node */
module.exports = {
coverageDirectory: '<rootDir>/build/javascript/',
collectCoverageFrom: ['<rootDir>/js/src/**/*.js'],
projects: [
{
verbose: true,
coveragePathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/js/vendor/',
],
displayName: 'phpMyAdmin',
testMatch: ['<rootDir>/test/javascript/**/*.js'],
transform: {},
moduleNameMapper: {
'^phpmyadmin/(.*)$': '<rootDir>/js/src/$1',
'^@vendor/(.*)$': '<rootDir>/js/vendor/$1',
},
testEnvironment: 'jsdom',
}
]
};
|