Commit Graph

4 Commits

Author SHA1 Message Date
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
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
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Maksim edd5f1aab8 refactor(migrations): packagePattern (#14667) 2022-03-14 23:53:35 +01:00