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
There's a wacked "TypeError: vi_esm_1.default.default is not a function" error when an expect assertion failed on browser mode
Run this code in browser mode:
describe("vitest browser mode lets see", function () { test("lalla", async () => { expect(1).toBe(1); expect(1).toBe(2); // <- Failed assertion }); });
Not working on stackblitz! https://stackblitz.com/edit/vitest-dev-vitest-cupgmf
System: OS: macOS 13.4 CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz Memory: 5.30 GB / 64.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.14.0 - ~/.volta/tools/image/node/18.14.0/bin/node Yarn: 3.2.0 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn npm: 9.3.1 - ~/.volta/tools/image/node/18.14.0/bin/npm Browsers: Chrome: 114.0.5735.133 Chrome Canary: 116.0.5841.0 Firefox: 112.0.2 Safari: 16.5 npmPackages: vitest: ^0.32.0 => 0.32.0
npm
The text was updated successfully, but these errors were encountered:
Start a new pull request in StackBlitz Codeflow.
Sorry, something went wrong.
Hi there, I'm still getting this issue: TypeError: __vi_esm_1__.default.default is not a function
TypeError: __vi_esm_1__.default.default is not a function
Is it fully fixed? If it is I'll do some testing and start over from scratch to see if I need to make a new issue
Fix is not released yet
Aww man. Is there a way to build it myself so that I can use it? It's really hard to do browser testing with it haha
If you are very inpatient, I would recommend using some form of package patching and not deal with publishing
Successfully merging a pull request may close this issue.
Describe the bug
There's a wacked "TypeError: vi_esm_1.default.default is not a function" error when an expect assertion failed on browser mode
Run this code in browser mode:
Reproduction
Not working on stackblitz!
https://stackblitz.com/edit/vitest-dev-vitest-cupgmf
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: