4 extensionsToTreatAsEsm: ['.ts'],
5 coverageDirectory: '<rootDir>/build/javascript/',
6 collectCoverageFrom: ['<rootDir>/resources/js/src/**/*.ts'],
9 coveragePathIgnorePatterns: [
10 '<rootDir>/node_modules/',
11 '<rootDir>/public/js/vendor/',
13 displayName: 'phpMyAdmin',
14 testMatch: ['<rootDir>/tests/javascript/**/*.ts'],
15 transform: { '\\.[jt]sx?$': 'babel-jest' },
17 '^phpmyadmin/(.*)$': '<rootDir>/resources/js/src/$1',
18 '^@vendor/(.*)$': '<rootDir>/public/js/vendor/$1',
20 testEnvironment: 'jsdom',