cherrypick/packages/backend/test
iwata 67e1ee41c9
test: Nodeのカスタムローダーを直してテストが動くように (#8625)
* test: Nodeのカスタムローダーを直してテストが動くように

* dev: mochaを呼ぶコマンドにNODE_ENV=testを追加

* Update packages/backend/test/loader.js

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* chore: change export style in loader.js

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 16:10:20 +09:00
..
misc refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
prelude refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
resources
.eslintrc.cjs test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
activitypub.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
ap-request.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
api-visibility.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
api.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
block.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
chart.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
docker-compose.yml
endpoints.ts improve test 2022-02-27 14:14:27 +09:00
extract-mentions.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
fetch-resource.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
ff-visibility.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
get-file-info.ts test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
loader.js test: Nodeのカスタムローダーを直してテストが動くように (#8625) 2022-05-14 16:10:20 +09:00
mfm.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
mute.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
note.ts Resolve #7208 (#7226) 2022-03-22 22:48:33 +09:00
reaction-lib.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
streaming.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
thread-mute.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
tsconfig.json refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
user-notes.ts test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
utils.ts test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00