かっこかり
6d15fe32d0
enhance(backend/test): Migrate tests to vitest ( #16935 )
...
* 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 b7b7b05d85 .
* 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 4715153375 .
* fix: エンドポイントにまつわるテストをunitからe2eに移動
* attempt to fix e2e
* remove swc
* attempt to fix e2e
* Revert "attempt to fix e2e"
This reverts commit 9fb86a4076 .
* add logs for debug
* attempt to fix e2e
* Partially revert "attempt to fix e2e"
This reverts commit fb0008c85a .
* attempt to fix test
* fix: attempt to fix test
* Revert "fix: attempt to fix test"
This reverts commit ed2f5c40e8 .
* Revert "attempt to fix test"
This reverts commit d7329c46f1 .
* 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 26851f8282 .
* update changelog
2026-04-20 14:57:29 +09:00
syuilo
a45ccc18b4
refactor
2025-07-04 18:33:41 +09:00
okayurisotto
750d262604
refactor(backend): ReactionService.prototype.convertLegacyReactions ( #13375 )
...
* add unit tests
* cleanup unnecessary type assertions
* `convertedReaction`変数の定義と変換表に対する存在確認処理の整理
* `count`変数の定義とループ処理での`Object.entries()`の活用
* 条件式の整理
* `Array.prototype.reduce`を使うように
* `Array.prototype.reduce`を使うように
* 配列操作を1つのメソッドチェーンに整理
これまでの実装では、`decodeReaction`の返り値が同一になる異なる入力値が同時に複数個存在した場合、後ろのもので上書きされてしまっていたはず。
これからの実装では、後ろのものは前のものに加算される。
(実際にこの挙動の変更が問題になるシチュエーションはまずないはず。)
* add unit test
* ドキュメントコメントの追加と型定義の調整
2024-02-21 14:31:50 +09:00
tamaina
c1514ce91d
(re) update SPDX-FileCopyrightText
...
Fix #13290
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7
Revert "update SPDX-FileCopyrightText"
...
This reverts commit 9b5aeb76d8 .
2024-02-13 15:50:11 +00:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #11348 )
...
* chore: Add the SPDX information to each file
Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.
* tweak format
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp >
2023-07-27 14:31:52 +09:00
syuilo
7ce569424a
feat: カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
2023-05-18 18:45:49 +09:00
syuilo
da2483f7fe
fix test
2023-03-24 19:09:02 +09:00
syuilo
3bb7afe544
improve performance of some tests
2023-02-22 15:16:29 +09:00