Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail due to "Cannot destructure property 'config' of 'undefined' as it is undefined." #562

Closed
clyncha opened this issue Apr 18, 2024 · 0 comments

Comments

@clyncha
Copy link

clyncha commented Apr 18, 2024

Experiencing issues when updating vue-jest to ^4.0.1.

Screenshot 2024-04-18 at 3 34 20 PM

at processTicksAndRejections (internal/process/task_queues.js:95:5) Failed to collect coverage from /Users/carolynlynch/src/github.com/ConsultingMD/dod-webclient-shared/src/components/grouped-dropdown/grouped-dropdown.vue ERROR: Cannot destructure property 'config' of 'undefined' as it is undefined. STACK: TypeError: Cannot destructure property 'config' of 'undefined' as it is undefined. at getCacheKey (/Users/carolynlynch/src/github.com/ConsultingMD/dod-webclient-shared/node_modules/vue-jest/lib/index.js:10:7) at ScriptTransformer._getCacheKeyAsync (/Users/carolynlynch/src/github.com/ConsultingMD/dod-webclient-shared/node_modules/@jest/reporters/node_modules/@jest/transform/build/ScriptTransformer.js:257:37) at ScriptTransformer._getFileCachePathAsync (/Users/carolynlynch/src/github.com/ConsultingMD/dod-webclient-shared/node_modules/@jest/reporters/node_modules/@jest/transform/build/ScriptTransformer.js:293:33) at ScriptTransformer.transformSourceAsync (/Users/carolynlynch/src/github.com/ConsultingMD/dod-webclient-shared/node_modules/@jest/reporters/node_modules/@jest/transform/build/ScriptTransformer.js:569:38) at generateEmptyCoverage (/Users/carolynlynch/src/github.com/ConsultingMD/dod-webclient-shared/node_modules/@jest/reporters/build/generateEmptyCoverage.js:127:44)

@clyncha clyncha closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant