Fix GIS editor form layout
[phpmyadmin.git] / jest.config.js
blob4aba52b4c56106a1de781460b3905160d6677b15
1 /* eslint-env node */
3 module.exports = {
4     coverageDirectory: '<rootDir>/build/javascript/',
5     collectCoverageFrom: ['<rootDir>/js/src/**/*.js'],
6     projects: [
7         {
8             verbose: true,
9             setupFiles: ['<rootDir>/test/jest/test-env.js'],
10             coveragePathIgnorePatterns: [
11                 '<rootDir>/node_modules/',
12                 '<rootDir>/js/vendor/',
13             ],
14             displayName: 'phpMyAdmin',
15             testMatch: ['<rootDir>/test/javascript/**/*.js'],
16             transform: {
17                 '^.+\\.js$': '<rootDir>/test/jest/file-transformer.js'
18             },
19             moduleNameMapper: {
20                 '^phpmyadmin/(.*)$': '<rootDir>/js/src/$1',
21                 '^@vendor/(.*)$': '<rootDir>/js/vendor/$1',
22             },
23             testEnvironment: 'jsdom',
24         }
25     ]