Repository navigation
Replies: 2 comments
|
あと大きな違いといえばカバレッジのデフォルトがv8かistanbulかというのもあるがMisskeyはjestでcoverageProviderをv8に設定してあるので大きな差はなさそう |
0 replies
|
oxcがdecoratorのパースも可能なのでswcを消せるというメリットもあって移行した |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Vitestの方が速い&イケてる???
#15308 (comment)
Faster?
内部的にesbuildを使っているため高速である、という可能性はあるかも
今のMisskeyはswcでテストを起動している、かつこのトランスパイルはかなり高速なのでその部分の恩恵はほぼなさそう
また今のMisskeyのテストは待ち時間が多いことにも留意すべき
速くなったという結果
https://zenn.dev/sa2knight/articles/migrating_vitest_from_jest#%E7%A7%BB%E8%A1%8C%E7%B5%90%E6%9E%9C
https://sdust.dev/posts/2023-10-05_Vitest-runs-unit-tests-faster.html
遅くなったという結果もある
https://zenn.dev/knowledgework/articles/jest-to-vitest#%E9%80%9F%E5%BA%A6
All reactions