misskey/packages/backend/test-federation
syuilo 02f1521a8b clean up 2025-12-04 10:50:02 +09:00
..
.config enhance: いくつかの設定ファイルの項目をコントロールパネルで設定するように (#16026) 2025-05-12 16:55:01 +09:00
test refactor(frontend): フロントエンドの型エラー解消(途中まで) (#16539) 2025-09-13 08:33:14 +09:00
.gitignore
README.md
compose.a.yml clean up 2025-12-04 10:50:02 +09:00
compose.b.yml clean up 2025-12-04 10:50:02 +09:00
compose.override.yaml
compose.tpl.yml 2025-12-04 09:39:04 +09:00
compose.yml convertは元ファイルを変更するようなニュアンスを若干感じるのでcompileに改名 2025-12-03 18:52:14 +09:00
daemon.ts
eslint.config.js
setup.sh
tsconfig.json enhance(backend): pugをやめ、JSXベースのテンプレートに変更 (#16908) 2025-12-01 18:36:55 +09:00

README.md

test-federation

Test federation between two Misskey servers: a.test and b.test.

Before testing, you need to build the entire project, and change working directory to here:

pnpm build
cd packages/backend/test-federation

First, you need to start servers by executing following commands:

bash ./setup.sh
NODE_VERSION=22 docker compose up --scale tester=0

Then you can run all tests by a following command:

NODE_VERSION=22 docker compose run --no-deps --rm tester

For testing a specific file, run a following command:

NODE_VERSION=22 docker compose run --no-deps --rm tester -- pnpm -F backend test:fed packages/backend/test-federation/test/user.test.ts