Skip to content

test: adjust config for vitest v3 and await expect#1600

Merged
susnux merged 2 commits intomainfrom
tests/await-expect
Feb 22, 2025
Merged

test: adjust config for vitest v3 and await expect#1600
susnux merged 2 commits intomainfrom
tests/await-expect

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Feb 21, 2025

We can simplify the vitest config a bit as some things are fixed.
Also this fixes a test as expect.rejects.toThrow is an asynchronous expectation so we need to await it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added the 3. to review Waiting for reviews label Feb 21, 2025
@susnux susnux requested review from Pytal and skjnldsv February 21, 2025 09:36
@susnux susnux merged commit a4fbfce into main Feb 22, 2025
20 checks passed
@susnux susnux deleted the tests/await-expect branch February 22, 2025 12:18
@skjnldsv skjnldsv mentioned this pull request Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants