My unit test is failing with `ReferenceError: nameof is not defined` My current jest.config.js ```js module.exports = { preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel', reporters: [ 'default', ['jest-junit', { outputDirectory: 'reports/unit' }], ['jest-html-reporter', { outputPath: 'reports/unit/test-report.html' }] ], collectCoverage: true, collectCoverageFrom: ['**/*.ts'], coverageReporters: ['lcov'], setupFiles: ['./tests/unit/jest.dropmultivueinstancewarning.js'], setupFilesAfterEnv: ['./tests/unit/jest.setup.js'], globals: { 'ts-jest': { astTransformers: ['ts-nameof'] } } }; ``` `globals ts-jest astTransformers` seems to have no effect 😕 My tsconfig.json ```json { "compilerOptions": { "target": "es5", "module": "esnext", "strict": true, "jsx": "preserve", "importHelpers": true, "moduleResolution": "node", "experimentalDecorators": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "sourceMap": true, "baseUrl": ".", "paths": { "@/*": ["src/*"] }, "lib": ["esnext", "dom", "dom.iterable", "scripthost"], "plugins": [{ "name": "typescript-tslint-plugin" }], "noUnusedLocals": true, "allowJs": true, "emitDecoratorMetadata": true, "downlevelIteration": true, "removeComments": true }, "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx"], "exclude": ["node_modules"] } ``` The project itself is working fine! Only jest test fails
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by Shinigami92 and has received 7 comments.