From eda7c66896de6d46ac894b9fae5790f0b0ec5b75 Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Tue, 15 Nov 2022 19:45:01 +0100 Subject: [PATCH] chore: TemplatesPage tests failing on M1 (#5088) --- site/src/pages/TemplatesPage/TemplatesPage.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/pages/TemplatesPage/TemplatesPage.test.tsx b/site/src/pages/TemplatesPage/TemplatesPage.test.tsx index d060919764..f504c4209a 100644 --- a/site/src/pages/TemplatesPage/TemplatesPage.test.tsx +++ b/site/src/pages/TemplatesPage/TemplatesPage.test.tsx @@ -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({