From 5c1c8786365e78dff40aca19b0630b02b6fc1a96 Mon Sep 17 00:00:00 2001 From: Kevin Jian Date: Tue, 28 Jan 2020 11:41:54 -0800 Subject: [PATCH] Update type to fix tests --- spec/fixtures/mockrequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/fixtures/mockrequest.ts b/spec/fixtures/mockrequest.ts index 2139c71ce..fff2ce1a9 100644 --- a/spec/fixtures/mockrequest.ts +++ b/spec/fixtures/mockrequest.ts @@ -68,7 +68,7 @@ export function mockFetchPublicKeys(): nock.Scope { */ export function generateIdToken(projectId: string): string { const claims = {}; - const options = { + const options: jwt.SignOptions = { audience: projectId, expiresIn: 60 * 60, // 1 hour in seconds issuer: 'https://securetoken.google.com/' + projectId,