From afa25483989bd631aed9cb023e3a3e90e768ccd6 Mon Sep 17 00:00:00 2001 From: Paul Fouquet Date: Mon, 21 Oct 2024 15:06:12 +1300 Subject: [PATCH] fix: type --- templates/common/__test__/get.location.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/common/__test__/get.location.test.ts b/templates/common/__test__/get.location.test.ts index 52b423d9..055bb27d 100644 --- a/templates/common/__test__/get.location.test.ts +++ b/templates/common/__test__/get.location.test.ts @@ -31,7 +31,7 @@ describe('get-location script template', () => { ); assert.equal(spy.mock.callCount(), 1); - const logOutputDict = JSON.parse(String(spy.mock.calls[0]?.arguments[0])); + const logOutputDict = JSON.parse(String(spy.mock.calls[0]?.arguments[0])) as { time: number }; assert.deepEqual(logOutputDict, { time: logOutputDict.time,