Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull request overview
This PR refactors the test file to use Vitest's native expect API instead of Node's assert module, aligning with the existing testing patterns used throughout the codebase and improving test failure diagnostics.
- Removes dependency on
node:assertmodule in favor of Vitest's built-in assertions - Converts all
assert.deepStrictEqualcalls toexpect().toEqual()for consistency with other test files - Maintains identical test logic while improving readability and error reporting
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Superceded by #16016. |

Using vitest's expect here is more idomatic, considering we're using vitest for our tests, and it should give us better diffs in case of failures.