From a80f3c186f2ea391bab6e789ca91c7eb71848ea2 Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Fri, 7 Aug 2026 14:55:31 -0300 Subject: [PATCH] chore: fix test [skip ci] --- .../SignInWithRecoveryCodes/SignInWithRecoveryCodes.spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/snjs/lib/Domain/UseCase/SignInWithRecoveryCodes/SignInWithRecoveryCodes.spec.ts b/packages/snjs/lib/Domain/UseCase/SignInWithRecoveryCodes/SignInWithRecoveryCodes.spec.ts index b989f0794..e3615ebeb 100644 --- a/packages/snjs/lib/Domain/UseCase/SignInWithRecoveryCodes/SignInWithRecoveryCodes.spec.ts +++ b/packages/snjs/lib/Domain/UseCase/SignInWithRecoveryCodes/SignInWithRecoveryCodes.spec.ts @@ -1,6 +1,7 @@ import { AuthClientInterface, EncryptionProviderInterface, + EXPIRED_PROTOCOL_VERSION, InternalEventBusInterface, KeyValueStoreInterface, SessionsClientInterface, @@ -160,9 +161,7 @@ describe('SignInWithRecoveryCodes', () => { }) expect(result.isFailed()).toBe(true) - expect(result.getError()).toEqual( - 'The protocol version associated with your account is outdated and no longer supported by this application. Please visit standardnotes.com/help/security for more information.', - ) + expect(result.getError()).toEqual(EXPIRED_PROTOCOL_VERSION) }) it('should fail if the sign in with recovery code fails', async () => {