Files
renovate/test
Jamie Tanna 066c7026e7 test: correctly call toMigrate with vitest (#38242)
fix(tests): correctly call `async toMigrate` with vitest

While working on #38240, I noticed that the failing tests I was
writing didn't trigger.

It turns out that in 997c23502e, when we
migrated to Vitest, and made some functions `async`, we missed out on
making the tests themselves `async`.

This correctly applies the `async` modifier to test functions, allowing
them to correctly pass/fail when running async code.

We can also make sure that `toMigrate` is returning a Promise to
indicate it's asynchronous.
2025-09-27 08:29:30 +00:00
..
2025-07-12 12:35:51 +00:00
2025-03-13 17:52:09 +00:00
2025-02-26 09:35:54 +00:00
2025-02-26 12:40:30 +00:00
2025-02-28 14:40:04 +00:00
2025-02-26 09:35:54 +00:00
2025-03-13 17:52:09 +00:00