diff --git a/packages/core/src/test/credentials/sso/cache.test.ts b/packages/core/src/test/credentials/sso/cache.test.ts index dce4850bc29..9feac195ac4 100644 --- a/packages/core/src/test/credentials/sso/cache.test.ts +++ b/packages/core/src/test/credentials/sso/cache.test.ts @@ -8,6 +8,7 @@ import * as path from 'path' import { makeTemporaryToolkitFolder, tryRemoveFolder } from '../../../shared/filesystemUtilities' import { getRegistrationCache, getTokenCache } from '../../../auth/sso/cache' import { fs } from '../../../shared' +import { SsoToken } from '../../../auth/sso/model' describe('SSO Cache', function () { const region = 'dummyRegion' @@ -26,7 +27,8 @@ describe('SSO Cache', function () { const validToken = { accessToken: 'longstringofrandomcharacters', expiresAt: new Date(Date.now() + hourInMs), - } + refreshToken: 'dummyRefreshToken', + } as SsoToken beforeEach(async function () { testDir = await makeTemporaryToolkitFolder() diff --git a/packages/core/src/test/credentials/sso/ssoAccessTokenProvider.test.ts b/packages/core/src/test/credentials/sso/ssoAccessTokenProvider.test.ts index 1bde91b26d8..bbdd9818814 100644 --- a/packages/core/src/test/credentials/sso/ssoAccessTokenProvider.test.ts +++ b/packages/core/src/test/credentials/sso/ssoAccessTokenProvider.test.ts @@ -45,6 +45,7 @@ describe('SsoAccessTokenProvider', function () { return { accessToken: 'dummyAccessToken', expiresAt: new clock.Date(clock.Date.now() + timeDelta), + refreshToken: 'dummyRefreshToken', ...extras, } }