]> git.r.bdr.sh - rbdr/forum/blame_incremental - jest.config.js
Add typedoc
[rbdr/forum] / jest.config.js
... / ...
CommitLineData
1/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
2export default {
3 preset: 'ts-jest',
4 collectCoverage: true,
5 transform: {
6 '^.+\\.svelte$': [
7 'svelte-jester',
8 {
9 preprocess: true
10 }
11 ]
12 },
13 moduleNameMapper: {
14 '^\\$lib(.*)$': '<rootDir>/src/lib$1',
15 '^\\$app(.*)$': ['.svelte/dev/runtime/app/*', '.svelte/build/runtime/app/*']
16 },
17 moduleFileExtensions: ['ts', 'js', 'svelte'],
18 globals: {
19 'ts-jest': {
20 diagnostics: {
21 ignoreCodes: ['TS151001']
22 }
23 }
24 }
25};