テストの追加と検出した不備の修正
This commit is contained in:
parent
f7f9df878b
commit
28fdf1b9a6
15 changed files with 1974 additions and 203 deletions
9
packages/backend/test/jest.setup.unit.cjs
Normal file
9
packages/backend/test/jest.setup.unit.cjs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
module.exports = async () => {
|
||||
// DBはUTC(っぽい)ので、テスト側も合わせておく
|
||||
process.env.TZ = 'UTC';
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue