misskey/packages/backend/test-federation
syuilo ffd8cf07e6
update deps (#15311)
* wip

* bump misskey-dev/eslint-plugin

* lint fixes (backend)

* lint fixes (frontend)

* lint fixes (frontend-embed)

* rollback nsfwjs to 4.2.0

ref: infinitered/nsfwjs#904

* rollback openapi-typescript to v6

v7でOpenAPIのバリデーションが入るようになった関係でスコープ外での変更が避けられないため一時的に戻した

* lint fixes (misskey-js)

* temporarily disable errored lint rule (frontend-shared)

* fix lint

* temporarily ignore errored file for lint (frontend-shared)

* rollback simplewebauthn/server to 12.0.0

v13 contains breaking changes that require some decision making

* lint fixes (frontend-shared)

* build misskey-js with types

* fix(backend): migrate simplewebauthn/server to v12

* fix(misskey-js/autogen): ignore indent rules to generate consistent output

* attempt to fix test

changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML)

* attempt to fix test

changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML)

* fix test

* fix test

* fix test

* Apply suggestions from code review

Co-authored-by: anatawa12 <anatawa12@icloud.com>

* bump summaly to v5.2.0

* update tabler-icons to v3.30.0-based

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2025-02-15 10:24:22 +09:00
..
.config fix(backend): fix type error(s) in security fixes (#15009) 2024-11-21 12:10:02 +09:00
test update deps (#15311) 2025-02-15 10:24:22 +09:00
.gitignore test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
README.md test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.a.yml test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.b.yml test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.override.yaml test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.tpl.yml fix(build): corepackのバグの回避 (#15387) 2025-02-03 13:45:59 +00:00
compose.yml fix(build): corepackのバグの回避 (#15387) 2025-02-03 13:45:59 +00:00
daemon.ts test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
eslint.config.js test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
setup.sh test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
tsconfig.json test(backend): add federation test (#14582) 2024-10-15 13:37:00 +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
docker compose up --scale tester=0

Then you can run all tests by a following command:

docker compose run --no-deps --rm tester

For testing a specific file, run a following command:

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