* enhance(backend): pugをやめ、JSXベースのテンプレートに変更 (to misskey-dev dev branch) (#16889)
* wip
* wip
* wip
* wip
* fix lint
* attempt to fix test
* fix
* fix
* fix: oauthページの描画がおかしい問題を修正
* typo [ci skip]
* fix
* fix
* fix
* fix
* fix
* refactor
* fix
* fix
* fix broken lockfile
* fix: expose supported languages as global variable
* remove i18n package from root as it is no longer required [ci skip]
* fix
* fix: add i18n package.json to Docker target-builder stage for federation tests (#16909)
* Initial plan
* fix: add i18n package.json to Docker target-builder stage for federation tests
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix: followup-test-federation for enh-remove-pug (#16910)
* fix: followup-test-federation for enh-remove-pug
* Revert "fix: add i18n package.json to Docker target-builder stage for federation tests (#16909)"
This reverts commit
|
||
|---|---|---|
| .. | ||
| .config | ||
| test | ||
| .gitignore | ||
| README.md | ||
| compose.a.yml | ||
| compose.b.yml | ||
| compose.override.yaml | ||
| compose.tpl.yml | ||
| compose.yml | ||
| daemon.ts | ||
| eslint.config.js | ||
| setup.sh | ||
| tsconfig.json | ||
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