-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Warning when using with latest vite #5211
Comments
I was wondering why warning shows up only with vitest/packages/vitest/src/node/create.ts Lines 24 to 25 in 9c01760
vitest/packages/vitest/src/node/vite.ts Lines 14 to 17 in 9c01760
so Vite's default logger silences warnings. But when using Of course, Vitest should deal with deprecated |
Nuxt's customLogger isn't really expecting to be used in a I have removed the customLogger from |
@danielroe Understood. Thanks for sharing the context and putting together an issue here! |
Describe the bug
When using with a
customLogger
the following error is printed.Reproduction
https://stackblitz.com/edit/github-66e6cf-qyzv3j?file=vitest.config.ts,package.json,tests/my-file.test.ts
System Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.18.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.2.3 - /usr/local/bin/npm pnpm: 8.14.0 - /usr/local/bin/pnpm npmPackages: vitest: ^1.2.2 => 1.2.2
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: