enhance(backend/test): Migrate tests to vitest#16935
Merged
syuilo merged 57 commits intomisskey-dev:developfrom Apr 20, 2026
Merged
enhance(backend/test): Migrate tests to vitest#16935syuilo merged 57 commits intomisskey-dev:developfrom
syuilo merged 57 commits intomisskey-dev:developfrom
Conversation
Contributor
|
このPRによるapi.jsonの差分 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #16935 +/- ##
============================================
- Coverage 62.42% 24.86% -37.57%
============================================
Files 1162 1150 -12
Lines 116557 38825 -77732
Branches 9079 10770 +1691
============================================
- Hits 72764 9654 -63110
+ Misses 41601 23403 -18198
- Partials 2192 5768 +3576 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
もにょもにょしてたらunit testのほうは動き始めた |
Contributor
Author
|
力尽きた |
…ih/misskey into enh-be-test-vitest
Contributor
Backend memory usage comparisonBefore GC
After GC
After Request
|
This reverts commit d7329c4.
Contributor
Author
|
なんか何やってもe2eだけ起動してくれない |
Member
|
自分がendpointsのリファクタしたときに気になったけど一応動いてたので直さなかったって範囲なので、解消したほうが安定しそうだなとは思っていた |
Contributor
Author
|
いけたっぽい |
syuilo
reviewed
Apr 20, 2026
Member
|
残り作業なんかあるかしら |
Contributor
Author
|
たぶんない |
Member
|
👍👍 |
m10i-0nyx
pushed a commit
to foundation0-link/misskey
that referenced
this pull request
Apr 28, 2026
* wip * update fake-timers and migrate * fix * remove jest-mock * fix * fix * fix * fix * attempt to fix unit tests * attempt to fix e2e tests * fix federation test [ci skip] * attempt to fix e2e tests * fix typecheck * fix unit tests * fix * attempt to fix e2e * fix * Revert "attempt to fix e2e" This reverts commit b7b7b05. * attempt to fix e2e * revert attempt to fix e2e * update deps * update vitest * migrate * attempt to fix e2e * update * fix * remove vite swc plugin as oxc parser can handle decorators * attempt to fix drive/files/create test * Revert "attempt to fix drive/files/create test" This reverts commit 4715153. * fix: エンドポイントにまつわるテストをunitからe2eに移動 * attempt to fix e2e * remove swc * attempt to fix e2e * Revert "attempt to fix e2e" This reverts commit 9fb86a4. * add logs for debug * attempt to fix e2e * Partially revert "attempt to fix e2e" This reverts commit fb0008c. * attempt to fix test * fix: attempt to fix test * Revert "fix: attempt to fix test" This reverts commit ed2f5c4. * Revert "attempt to fix test" This reverts commit d7329c4. * attempt to fix e2e * fix: surpass eventemitter warning by increasing defaultMaxListeners * attempt to fix e2e * fix * fix e2e not ending properly * exp: add hanging-process reporter for investigation * Revert "exp: add hanging-process reporter for investigation" This reverts commit 26851f8. * update changelog
m10i-0nyx
pushed a commit
to foundation0-link/misskey
that referenced
this pull request
Apr 28, 2026
* wip * update fake-timers and migrate * fix * remove jest-mock * fix * fix * fix * fix * attempt to fix unit tests * attempt to fix e2e tests * fix federation test [ci skip] * attempt to fix e2e tests * fix typecheck * fix unit tests * fix * attempt to fix e2e * fix * Revert "attempt to fix e2e" This reverts commit b7b7b05. * attempt to fix e2e * revert attempt to fix e2e * update deps * update vitest * migrate * attempt to fix e2e * update * fix * remove vite swc plugin as oxc parser can handle decorators * attempt to fix drive/files/create test * Revert "attempt to fix drive/files/create test" This reverts commit 4715153. * fix: エンドポイントにまつわるテストをunitからe2eに移動 * attempt to fix e2e * remove swc * attempt to fix e2e * Revert "attempt to fix e2e" This reverts commit 9fb86a4. * add logs for debug * attempt to fix e2e * Partially revert "attempt to fix e2e" This reverts commit fb0008c. * attempt to fix test * fix: attempt to fix test * Revert "fix: attempt to fix test" This reverts commit ed2f5c4. * Revert "attempt to fix test" This reverts commit d7329c4. * attempt to fix e2e * fix: surpass eventemitter warning by increasing defaultMaxListeners * attempt to fix e2e * fix * fix e2e not ending properly * exp: add hanging-process reporter for investigation * Revert "exp: add hanging-process reporter for investigation" This reverts commit 26851f8. * update changelog
m10i-0nyx
pushed a commit
to foundation0-link/misskey
that referenced
this pull request
Apr 28, 2026
* wip * update fake-timers and migrate * fix * remove jest-mock * fix * fix * fix * fix * attempt to fix unit tests * attempt to fix e2e tests * fix federation test [ci skip] * attempt to fix e2e tests * fix typecheck * fix unit tests * fix * attempt to fix e2e * fix * Revert "attempt to fix e2e" This reverts commit b7b7b05. * attempt to fix e2e * revert attempt to fix e2e * update deps * update vitest * migrate * attempt to fix e2e * update * fix * remove vite swc plugin as oxc parser can handle decorators * attempt to fix drive/files/create test * Revert "attempt to fix drive/files/create test" This reverts commit 4715153. * fix: エンドポイントにまつわるテストをunitからe2eに移動 * attempt to fix e2e * remove swc * attempt to fix e2e * Revert "attempt to fix e2e" This reverts commit 9fb86a4. * add logs for debug * attempt to fix e2e * Partially revert "attempt to fix e2e" This reverts commit fb0008c. * attempt to fix test * fix: attempt to fix test * Revert "fix: attempt to fix test" This reverts commit ed2f5c4. * Revert "attempt to fix test" This reverts commit d7329c4. * attempt to fix e2e * fix: surpass eventemitter warning by increasing defaultMaxListeners * attempt to fix e2e * fix * fix e2e not ending properly * exp: add hanging-process reporter for investigation * Revert "exp: add hanging-process reporter for investigation" This reverts commit 26851f8. * update changelog
m10i-0nyx
pushed a commit
to foundation0-link/misskey
that referenced
this pull request
Apr 28, 2026
* wip * update fake-timers and migrate * fix * remove jest-mock * fix * fix * fix * fix * attempt to fix unit tests * attempt to fix e2e tests * fix federation test [ci skip] * attempt to fix e2e tests * fix typecheck * fix unit tests * fix * attempt to fix e2e * fix * Revert "attempt to fix e2e" This reverts commit b7b7b05. * attempt to fix e2e * revert attempt to fix e2e * update deps * update vitest * migrate * attempt to fix e2e * update * fix * remove vite swc plugin as oxc parser can handle decorators * attempt to fix drive/files/create test * Revert "attempt to fix drive/files/create test" This reverts commit 4715153. * fix: エンドポイントにまつわるテストをunitからe2eに移動 * attempt to fix e2e * remove swc * attempt to fix e2e * Revert "attempt to fix e2e" This reverts commit 9fb86a4. * add logs for debug * attempt to fix e2e * Partially revert "attempt to fix e2e" This reverts commit fb0008c. * attempt to fix test * fix: attempt to fix test * Revert "fix: attempt to fix test" This reverts commit ed2f5c4. * Revert "attempt to fix test" This reverts commit d7329c4. * attempt to fix e2e * fix: surpass eventemitter warning by increasing defaultMaxListeners * attempt to fix e2e * fix * fix e2e not ending properly * exp: add hanging-process reporter for investigation * Revert "exp: add hanging-process reporter for investigation" This reverts commit 26851f8. * update changelog
m10i-0nyx
pushed a commit
to foundation0-link/misskey
that referenced
this pull request
Apr 30, 2026
* wip * update fake-timers and migrate * fix * remove jest-mock * fix * fix * fix * fix * attempt to fix unit tests * attempt to fix e2e tests * fix federation test [ci skip] * attempt to fix e2e tests * fix typecheck * fix unit tests * fix * attempt to fix e2e * fix * Revert "attempt to fix e2e" This reverts commit b7b7b05. * attempt to fix e2e * revert attempt to fix e2e * update deps * update vitest * migrate * attempt to fix e2e * update * fix * remove vite swc plugin as oxc parser can handle decorators * attempt to fix drive/files/create test * Revert "attempt to fix drive/files/create test" This reverts commit 4715153. * fix: エンドポイントにまつわるテストをunitからe2eに移動 * attempt to fix e2e * remove swc * attempt to fix e2e * Revert "attempt to fix e2e" This reverts commit 9fb86a4. * add logs for debug * attempt to fix e2e * Partially revert "attempt to fix e2e" This reverts commit fb0008c. * attempt to fix test * fix: attempt to fix test * Revert "fix: attempt to fix test" This reverts commit ed2f5c4. * Revert "attempt to fix test" This reverts commit d7329c4. * attempt to fix e2e * fix: surpass eventemitter warning by increasing defaultMaxListeners * attempt to fix e2e * fix * fix e2e not ending properly * exp: add hanging-process reporter for investigation * Revert "exp: add hanging-process reporter for investigation" This reverts commit 26851f8. * update changelog
m10i-0nyx
pushed a commit
to foundation0-link/misskey
that referenced
this pull request
Apr 30, 2026
* wip * update fake-timers and migrate * fix * remove jest-mock * fix * fix * fix * fix * attempt to fix unit tests * attempt to fix e2e tests * fix federation test [ci skip] * attempt to fix e2e tests * fix typecheck * fix unit tests * fix * attempt to fix e2e * fix * Revert "attempt to fix e2e" This reverts commit b7b7b05. * attempt to fix e2e * revert attempt to fix e2e * update deps * update vitest * migrate * attempt to fix e2e * update * fix * remove vite swc plugin as oxc parser can handle decorators * attempt to fix drive/files/create test * Revert "attempt to fix drive/files/create test" This reverts commit 4715153. * fix: エンドポイントにまつわるテストをunitからe2eに移動 * attempt to fix e2e * remove swc * attempt to fix e2e * Revert "attempt to fix e2e" This reverts commit 9fb86a4. * add logs for debug * attempt to fix e2e * Partially revert "attempt to fix e2e" This reverts commit fb0008c. * attempt to fix test * fix: attempt to fix test * Revert "fix: attempt to fix test" This reverts commit ed2f5c4. * Revert "attempt to fix test" This reverts commit d7329c4. * attempt to fix e2e * fix: surpass eventemitter warning by increasing defaultMaxListeners * attempt to fix e2e * fix * fix e2e not ending properly * exp: add hanging-process reporter for investigation * Revert "exp: add hanging-process reporter for investigation" This reverts commit 26851f8. * update changelog
m10i-0nyx
pushed a commit
to foundation0-link/misskey
that referenced
this pull request
Apr 30, 2026
* wip * update fake-timers and migrate * fix * remove jest-mock * fix * fix * fix * fix * attempt to fix unit tests * attempt to fix e2e tests * fix federation test [ci skip] * attempt to fix e2e tests * fix typecheck * fix unit tests * fix * attempt to fix e2e * fix * Revert "attempt to fix e2e" This reverts commit b7b7b05. * attempt to fix e2e * revert attempt to fix e2e * update deps * update vitest * migrate * attempt to fix e2e * update * fix * remove vite swc plugin as oxc parser can handle decorators * attempt to fix drive/files/create test * Revert "attempt to fix drive/files/create test" This reverts commit 4715153. * fix: エンドポイントにまつわるテストをunitからe2eに移動 * attempt to fix e2e * remove swc * attempt to fix e2e * Revert "attempt to fix e2e" This reverts commit 9fb86a4. * add logs for debug * attempt to fix e2e * Partially revert "attempt to fix e2e" This reverts commit fb0008c. * attempt to fix test * fix: attempt to fix test * Revert "fix: attempt to fix test" This reverts commit ed2f5c4. * Revert "attempt to fix test" This reverts commit d7329c4. * attempt to fix e2e * fix: surpass eventemitter warning by increasing defaultMaxListeners * attempt to fix e2e * fix * fix e2e not ending properly * exp: add hanging-process reporter for investigation * Revert "exp: add hanging-process reporter for investigation" This reverts commit 26851f8. * update changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
Additional info (optional)
Checklist