From 7d11172a8fbc517a8cd9b9b21762ecb21916ab85 Mon Sep 17 00:00:00 2001 From: wangsijie Date: Mon, 14 Nov 2022 14:01:25 +0800 Subject: [PATCH] fix(core): remove ts from tests (#2428) --- packages/core/src/routes/session/social.bind-social.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/src/routes/session/social.bind-social.test.ts b/packages/core/src/routes/session/social.bind-social.test.ts index be74536a9..646218d20 100644 --- a/packages/core/src/routes/session/social.bind-social.test.ts +++ b/packages/core/src/routes/session/social.bind-social.test.ts @@ -156,8 +156,7 @@ describe('session -> socialRoutes', () => { expect(interactionResult).toHaveBeenCalledWith( expect.anything(), expect.anything(), - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment - expect.objectContaining({ login: { accountId: 'user1', ts: expect.anything() } }), + expect.objectContaining({ login: { accountId: 'user1' } }), expect.anything() ); });