mistykey/packages/backend/test/jest.setup.unit.ts
2025-11-05 19:42:30 -05:00

16 lines
444 B
TypeScript

/*
* SPDX-FileCopyrightText: hazelnoot and other Sharkey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
// Need to reference the built file
import { prepEnv } from '../built/boot/prepEnv.js';
/**
* Applies the Sharkey environment details into the test environment.
* https://jestjs.io/docs/configuration#globalsetup-string
*/
export default function setup() {
// Make sure tests run in the Sharkey environment.
prepEnv();
}