* Migrate more jest tests to vitest * Fix jest config * Fix jest config * Make remaining jest tests type-happy