mizzkey/packages/backend/test/jest.setup.unit.cjs

11 lines
265 B
JavaScript
Raw Normal View History

/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
module.exports = async () => {
// DBはUTCっぽいので、テスト側も合わせておく
process.env.TZ = 'UTC';
2024-06-30 15:20:46 +02:00
process.env.NODE_ENV = 'test';
};