text: /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
  module.exports = {
    preset: 'ts-jest',
    testEnvironment: 'jsdom',
    globals: {
      'ts-jest': {
        tsconfig: './tsconfig.node.json',
      },
    },
    moduleNameMapper: {
      '\\.scss$': 'identity-obj-proxy',
    },
    setupFilesAfterEnv: ['<rootDir>/testSetup/init.ts'],
    collectCoverageFrom: [
      '<rootDir>/src/**/*.{ts,tsx}',
      '!<rootDir>/src/index.ts',
    ],
    watchPlugins: [
      'jest-watch-typeahead/filename',
      'jest-watch-typeahead/testname',
    ],
  };
  