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
It should not error, as Vitest re-exports an alternative testing syntax (assert) for chai-style asserts.
These are still assertions that test something about the code, and should be counted.
Related to #9168 (and can likely be fixed in 1 fell swoop)
Environment information
Details
Rule name
useExpectPlayground link
https://biomejs.dev/playground/?lineWidth=120&indentStyle=space&lintRules=useExpect&analyzerFixMode=safeAndUnsafeFixes&code=aQB0ACgAIgArACIALAAgACgAKQAgAD0APgAgAHsACgAgACAAYQBzAHMAZQByAHQAKAAxACAAKwAgADIAIAA9AD0APQAgADIAIAArACAAMQAsACAAIgBhAGQAZABpAG4AZwAgAHMAaABvAHUAbABkACAAYgBlACAAYwBvAG0AbQB1AHQAYQB0AGkAdgBlACIAKQAKACAAIABhAHMAcwBlAHIAdAAoADEAIAArACAAKAAyACAAKwAgADMAKQAgAD0APQA9ACAAKAAxACAAKwAgADIAKQAgACsAIAAzACwAIAAiAGEAZABkAGkAbgBnACAAcwBoAG8AdQBsAGQAIABiAGUAIABhAHMAcwBvAGMAaQBhAHQAaQB2AGUAIgApAAoAIAAgAGEAcwBzAGUAcgB0ACgAMQAgACsAIAAoADIAIAAqACAAMwApACAAPQA9AD0AIAAoADEAIAAqACAAMgApACAAKwAgACgAMQAgACoAIAAzACkALAAgACIAYQBkAGQAaQBuAGcAIABzAGgAbwB1AGwAZAAgAGQAaQBzAHQAcgBpAGIAdQB0AGUAIABvAHYAZQByACAAbQB1AGwAdABpAHAAbABpAGMAYQB0AGkAbwBuACIAKQAKAH0AKQA%3D
Expected result
It should not error, as Vitest re-exports an alternative testing syntax (
assert) for chai-style asserts.These are still assertions that test something about the code, and should be counted.
Related to #9168 (and can likely be fixed in 1 fell swoop)
Code of Conduct