From 9cccb018f25c3770540baee23f64ffd3c956dd13 Mon Sep 17 00:00:00 2001 From: Kar Rui Lau Date: Fri, 19 Jul 2024 18:32:38 +0800 Subject: [PATCH] fix: update msw handler types --- apps/studio/tests/msw/handlers/sites.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/studio/tests/msw/handlers/sites.ts b/apps/studio/tests/msw/handlers/sites.ts index 268f476d4d..604dec19cd 100644 --- a/apps/studio/tests/msw/handlers/sites.ts +++ b/apps/studio/tests/msw/handlers/sites.ts @@ -1,4 +1,3 @@ -import type { IsomerSitemap } from "@opengovsg/isomer-components" import type { DelayMode } from "msw" import { delay } from "msw" @@ -28,9 +27,12 @@ export const sitesHandlers = { return trpcMsw.site.getConfig.query(() => { return { theme: "isomer-next", + siteName: "Ministry of Test and Industry", + search: undefined, + agencyName: "Ministry of Test and Industry", isGovernment: true, - sitemap: null as unknown as IsomerSitemap, name: "Ministry of Trade and Industry", + logoUrl: "https://www.isomer.gov.sg/images/isomer-logo.svg", } }) },