kopia lustrzana https://github.com/drastus/sejm-calculator
24 wiersze
532 B
TypeScript
24 wiersze
532 B
TypeScript
/* eslint-disable @typescript-eslint/naming-convention */
|
|
const reporters = ['default'];
|
|
|
|
module.exports = {
|
|
moduleFileExtensions: ['js', 'ts'],
|
|
modulePaths: [
|
|
'test',
|
|
],
|
|
modulePathIgnorePatterns: ['dist'],
|
|
preset: 'ts-jest',
|
|
reporters,
|
|
testEnvironment: 'jsdom',
|
|
testEnvironmentOptions: {
|
|
url: 'http://localhost/',
|
|
},
|
|
testMatch: ['**/test/*.test.ts'],
|
|
transform: {
|
|
'^.+\\.[jt]s$': 'ts-jest',
|
|
'\\.(pug)$': 'jest-transform-pug',
|
|
'.+\\.(css)$': 'jest-transform-stub',
|
|
'^.+\\.svg$': 'jest-transform-stub',
|
|
},
|
|
};
|