Skip to content

Commit 42af9e1

Browse files
authored
Fix missing regionUrl in tests (#163)
1 parent da9de41 commit 42af9e1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

packages/mcp-server/src/tools.test.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ describe("list_teams", () => {
3737
},
3838
{
3939
organizationSlug: "sentry-mcp-evals",
40+
regionUrl: undefined,
4041
},
4142
);
4243
expect(result).toMatchInlineSnapshot(`
@@ -59,6 +60,7 @@ describe("list_projects", () => {
5960
},
6061
{
6162
organizationSlug: "sentry-mcp-evals",
63+
regionUrl: undefined,
6264
},
6365
);
6466
expect(result).toMatchInlineSnapshot(`
@@ -84,6 +86,7 @@ describe("list_issues", () => {
8486
projectSlug: "cloudflare-mcp",
8587
query: undefined,
8688
sortBy: "last_seen",
89+
regionUrl: undefined,
8790
},
8891
);
8992
expect(result).toMatchInlineSnapshot(`
@@ -126,6 +129,7 @@ describe("list_issues", () => {
126129
projectSlug: undefined,
127130
query: undefined,
128131
sortBy: "last_seen",
132+
regionUrl: undefined,
129133
},
130134
);
131135
expect(result).toMatchInlineSnapshot(`
@@ -168,6 +172,7 @@ describe("list_releases", () => {
168172
{
169173
organizationSlug: "sentry-mcp-evals",
170174
projectSlug: undefined,
175+
regionUrl: undefined,
171176
},
172177
);
173178
expect(result).toMatchInlineSnapshot(`
@@ -199,6 +204,7 @@ describe("list_releases", () => {
199204
{
200205
organizationSlug: "sentry-mcp-evals",
201206
projectSlug: "cloudflare-mcp",
207+
regionUrl: undefined,
202208
},
203209
);
204210
expect(result).toMatchInlineSnapshot(`
@@ -233,6 +239,7 @@ describe("list_tags", () => {
233239
{
234240
organizationSlug: "sentry-mcp-evals",
235241
projectSlug: undefined,
242+
regionUrl: undefined,
236243
},
237244
);
238245
expect(result).toMatchInlineSnapshot(`
@@ -282,6 +289,7 @@ describe("search_errors", () => {
282289
transaction: undefined,
283290
query: undefined,
284291
sortBy: "count",
292+
regionUrl: undefined,
285293
},
286294
);
287295
expect(result).toMatchInlineSnapshot(`
@@ -321,6 +329,7 @@ describe("search_transactions", () => {
321329
transaction: undefined,
322330
query: undefined,
323331
sortBy: "duration",
332+
regionUrl: undefined,
324333
},
325334
);
326335
expect(result).toMatchInlineSnapshot(`
@@ -367,6 +376,7 @@ describe("get_issue_summary", () => {
367376
organizationSlug: "sentry-mcp-evals",
368377
issueId: "CLOUDFLARE-MCP-41",
369378
issueUrl: undefined,
379+
regionUrl: undefined,
370380
},
371381
);
372382
expect(result).toMatchInlineSnapshot(`
@@ -398,6 +408,7 @@ describe("get_issue_summary", () => {
398408
organizationSlug: undefined,
399409
issueId: undefined,
400410
issueUrl: "https://sentry-mcp-evals.sentry.io/issues/6507376925",
411+
regionUrl: undefined,
401412
},
402413
);
403414

@@ -432,6 +443,7 @@ describe("get_issue_details", () => {
432443
organizationSlug: "sentry-mcp-evals",
433444
issueId: "CLOUDFLARE-MCP-41",
434445
issueUrl: undefined,
446+
regionUrl: undefined,
435447
},
436448
);
437449
expect(result).toMatchInlineSnapshot(`
@@ -478,6 +490,7 @@ describe("get_issue_details", () => {
478490
organizationSlug: undefined,
479491
issueId: undefined,
480492
issueUrl: "https://sentry-mcp-evals.sentry.io/issues/6507376925",
493+
regionUrl: undefined,
481494
},
482495
);
483496

@@ -526,6 +539,7 @@ describe("create_team", () => {
526539
{
527540
organizationSlug: "sentry-mcp-evals",
528541
name: "the-goats",
542+
regionUrl: undefined,
529543
},
530544
);
531545
expect(result).toMatchInlineSnapshot(`
@@ -556,6 +570,7 @@ describe("create_project", () => {
556570
teamSlug: "the-goats",
557571
name: "cloudflare-mcp",
558572
platform: "javascript",
573+
regionUrl: undefined,
559574
},
560575
);
561576
expect(result).toMatchInlineSnapshot(`
@@ -588,6 +603,7 @@ describe("create_dsn", () => {
588603
organizationSlug: "sentry-mcp-evals",
589604
projectSlug: "cloudflare-mcp",
590605
name: "Default",
606+
regionUrl: undefined,
591607
},
592608
);
593609
expect(result).toMatchInlineSnapshot(`
@@ -616,6 +632,7 @@ describe("list_dsn", () => {
616632
{
617633
organizationSlug: "sentry-mcp-evals",
618634
projectSlug: "cloudflare-mcp",
635+
regionUrl: undefined,
619636
},
620637
);
621638
expect(result).toMatchInlineSnapshot(`
@@ -646,6 +663,7 @@ describe("begin_autofix", () => {
646663
organizationSlug: "sentry-mcp-evals",
647664
issueId: "PEATED-A8",
648665
issueUrl: undefined,
666+
regionUrl: undefined,
649667
},
650668
);
651669
expect(result).toMatchInlineSnapshot(`
@@ -677,6 +695,7 @@ describe("get_autofix_status", () => {
677695
organizationSlug: "sentry-mcp-evals",
678696
issueId: "PEATED-A8",
679697
issueUrl: undefined,
698+
regionUrl: undefined,
680699
},
681700
);
682701
expect(result).toMatchInlineSnapshot(`

0 commit comments

Comments
 (0)