Skip to content

Commit 1dda709

Browse files
committed
update
1 parent ccb61ac commit 1dda709

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/integration/tools/atlas/accessLists.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
22
import { describeWithAtlas, withProject } from "./atlasHelpers.js";
33
import { expectDefined } from "../../helpers.js";
44
import { afterAll, beforeAll, describe, expect, it } from "vitest";
5+
import { ensureCurrentIpInAccessList } from "../../../../src/common/atlas/accessListUtils.js";
56

67
function generateRandomIp() {
78
const randomIp: number[] = [192];

tests/unit/accessListUtils.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ describe("accessListUtils", () => {
1010
createProjectIpAccessList: vi.fn().mockResolvedValue(undefined as never),
1111
} as unknown as ApiClient;
1212
await ensureCurrentIpInAccessList(apiClient, "projectId");
13+
// eslint-disable-next-line @typescript-eslint/unbound-method
1314
expect(apiClient.createProjectIpAccessList).toHaveBeenCalledWith({
1415
params: { path: { groupId: "projectId" } },
1516
body: [
@@ -31,6 +32,7 @@ describe("accessListUtils", () => {
3132
),
3233
} as unknown as ApiClient;
3334
await ensureCurrentIpInAccessList(apiClient, "projectId");
35+
// eslint-disable-next-line @typescript-eslint/unbound-method
3436
expect(apiClient.createProjectIpAccessList).toHaveBeenCalledWith({
3537
params: { path: { groupId: "projectId" } },
3638
body: [

0 commit comments

Comments
 (0)