-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Describe the bug
Hello, i've a bug with @apollo/client/core in my project where i cannot launch any test (Works on jest tho)
I have a file where I import and create the Apollo client :
And a file where I use the client :
In my test I try to use that getCurrentUser function as mock
But when I launch a vitesse run i got a weird error...
Any idea ?
Thank's
Reproduction
Check screens in the description
System Info
System:
OS: macOS 12.0.1
CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
Memory: 601.49 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.15.4 - ~/.nvm/versions/node/v14.15.4/bin/node
npm: 8.1.3 - ~/.nvm/versions/node/v14.15.4/bin/npm
Browsers:
Brave Browser: 97.1.34.80
Chrome: 97.0.4692.71
Firefox: 89.0.2
Firefox Developer Edition: 88.0
Safari: 15.1
npmPackages:
@vitejs/plugin-vue: ^1.10.2 => 1.10.2
vite: ^2.7.10 => 2.7.10
vitest: ^0.0.132 => 0.0.132Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels



