-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error: offset is longer than source length! is thrown when I try to update inline snapshot #626
Comments
This is really hard to test with this reproduction, since I don't have other files. Does this error still happen to you? If so, can you make a reproduction on Stackblitz? |
Closed because of no activity/reproduction. |
I have a minimal repro here: https://stackblitz.com/edit/vitest-dev-vitest-hopf5m?file=test/suite.test.ts when it runs, just hit |
@sheremet-va can you please reopen? |
I met this error because I made a mistake in types.ts; |
Describe the bug
Reproduction
I have this spec file
when I run the tests, I get this:
then I just hit
u
on the keyboard, error is thrown.System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: