aboutsummaryrefslogtreecommitdiffstats
path: root/jest.config.js
blob: 6943513bb2e464ee14b9a1f1a142d741dd776e66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// @ts-check

/** @type {import('ts-jest').InitialOptionsTsJest} */
module.exports = {
  preset: 'ts-jest',
  globals: {
    'ts-jest': {
      isolatedModules: true,
    },
  },
  resetMocks: true,
  restoreMocks: true,
  testEnvironment: 'node',
  testPathIgnorePatterns: [
    '/dist/',
    '/dist-types',
    '/node_modules/',
  ],
};