mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: TemplatesPage tests failing on M1 (#5088)
This commit is contained in:
@@ -24,7 +24,7 @@ describe("TemplatesPage", () => {
|
||||
return res(ctx.status(200), ctx.json([]))
|
||||
},
|
||||
),
|
||||
rest.post("/api/v2/authcheck", async (req, res, ctx) => {
|
||||
rest.post("/api/v2/authcheck", (req, res, ctx) => {
|
||||
return res(
|
||||
ctx.status(200),
|
||||
ctx.json({
|
||||
@@ -57,7 +57,7 @@ describe("TemplatesPage", () => {
|
||||
return res(ctx.status(200), ctx.json([]))
|
||||
},
|
||||
),
|
||||
rest.post("/api/v2/authcheck", async (req, res, ctx) => {
|
||||
rest.post("/api/v2/authcheck", (req, res, ctx) => {
|
||||
return res(
|
||||
ctx.status(200),
|
||||
ctx.json({
|
||||
|
||||
Reference in New Issue
Block a user