You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{describe,test,expect}from'vitest';describe('rejects',()=>{test('buyApples throws an error when no id provideds',async()=>{// toThrow returns a promise now, so you HAVE to await itawaitexpect('abc').toBe('abcd');});});
has different failing diff/results for version 0.32.0 and 0.32.1. 0.32.0 is the correct expected results (at least to me)
0.32.0 results (correct)
AssertionError: expected 'abc' to be 'abcd' // Object.is equality
- Expected - 0
+ Received + 1
- 'abcd'
+ 'abc'
0.32.1 results (incorrect)
AssertionError: expected 'abc' to be 'abcd' // Object.is equality
- Expected
+ Received
- abc
+ abcd
Describe the bug
the following test:
has different failing diff/results for version
0.32.0
and0.32.1
.0.32.0
is the correct expected results (at least to me)0.32.0
results (correct)0.32.1
results (incorrect)Reproduction
Minimal reproduction
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: