update tests
This commit is contained in:
1 parent
d022f7d849
commit
abec4e6c70
59 files changed
+167
-151
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { describe, expect, it, jest } from "@jest/globals";
|
||||
import { testStatusProviderContract } from "../../../helpers/statusProviderContract.ts";
|
||||
import { NETWORK_ERROR } from "../../../../src/service/infrastructure/network/utils.ts";
|
||||
import type { Monitor } from "../../../../src/types/index.ts";
|
||||
import { NETWORK_ERROR } from "../../../../src/service/network/utils.ts";
|
||||
import type { Monitor } from "../../../../src/domain/monitors/monitor.types.ts";
|
||||
|
||||
// ── Mocks ────────────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -38,7 +38,7 @@ jest.unstable_mockModule("got", () => ({
|
||||
},
|
||||
}));
|
||||
|
||||
const { HttpProvider } = await import("../../../../src/service/infrastructure/network/HttpProvider.ts");
|
||||
const { HttpProvider } = await import("../../../../src/service/network/HttpProvider.ts");
|
||||
const gotModule = await import("got");
|
||||
const { HTTPError, RequestError } = gotModule;
|
||||
|
||||
|
||||
Reference in new issue
Block a user