We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ERR_UNSUPPORTED_DIR_IMPORT
EISDIR
vitest
Describe the bug
It appears that when using vitest via https://analogjs.org/docs/features/testing/vitest the test suite will run into bizarre issues due to the way this library imports @apollo/client/core.
@apollo/client/core
I'm not sure if it's a bug in this library or in vite/vitest. I also opened a bug report on their side: vitejs/vite#15795
To Reproduce
Repro at: https://stackblitz.com/~/edit/vitest-dev-vitest-djnid1?initialPath=/__vitest__/
Expected behavior
No error
The text was updated successfully, but these errors were encountered:
It appears the "correct" way is to change all the imports to @apollo/client/core/index.js as per: apollographql/apollo-client#11570 (comment)
@apollo/client/core/index.js
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
It appears that when using
vitest
via https://analogjs.org/docs/features/testing/vitest the test suite will run into bizarre issues due to the way this library imports@apollo/client/core
.I'm not sure if it's a bug in this library or in vite/vitest. I also opened a bug report on their side:
vitejs/vite#15795
To Reproduce
Repro at: https://stackblitz.com/~/edit/vitest-dev-vitest-djnid1?initialPath=/__vitest__/
Expected behavior
No error
The text was updated successfully, but these errors were encountered: