Files
mudita-center/libs/api-devices-testing/jest.setup.ts
Daniel Karski 6450a175c8 Release v4.0.0 - to stage (#2803)
Co-authored-by: Michał Kurczewski <michalkurczewski94@gmail.com>
Co-authored-by: Michał Kurczewski <michal@kurczewski.dev>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-30 15:49:30 +02:00

30 lines
596 B
TypeScript

/**
* Copyright (c) Mudita sp. z o.o. All rights reserved.
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md
*/
import { getService } from "./src/helpers/api-device-test-service"
jest.mock("app-localize/utils", () => ({
__esModule: true,
}))
jest.mock("electron-log", () => ({
error: jest.fn(),
warn: jest.fn(),
info: jest.fn(),
debug: jest.fn(),
verbose: jest.fn(),
silly: jest.fn(),
}))
jest.setTimeout(30_000)
beforeAll(async () => {
await getService().init()
}, 60_000)
afterAll(async () => {
await getService().reset()
}, 60_000)