mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
Fix bad test
This commit is contained in:
@@ -231,7 +231,6 @@ describe('OAuth Utils', () => {
|
||||
accountId: 'account-id',
|
||||
workspaceId: 'workspace-id',
|
||||
}
|
||||
const mockCredentialRow = { type: 'oauth', accountId: 'account-id' }
|
||||
const mockAccountRow = {
|
||||
id: 'account-id',
|
||||
accessToken: 'expired-token',
|
||||
@@ -241,7 +240,6 @@ describe('OAuth Utils', () => {
|
||||
userId: 'test-user-id',
|
||||
}
|
||||
mockSelectChain([mockResolvedCredential])
|
||||
mockSelectChain([mockCredentialRow])
|
||||
mockSelectChain([mockAccountRow])
|
||||
|
||||
mockRefreshOAuthToken.mockResolvedValueOnce(null)
|
||||
|
||||
Reference in New Issue
Block a user