From 5838e0210105ca0167de679a663fec2505d99258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Madureira?= Date: Tue, 11 Feb 2025 13:46:23 +0000 Subject: [PATCH] Fixed some styling issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Madureira --- .../src/oauth/PassportOAuthAuthenticatorHelper.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/auth-node/src/oauth/PassportOAuthAuthenticatorHelper.test.ts b/plugins/auth-node/src/oauth/PassportOAuthAuthenticatorHelper.test.ts index 46bcf55bb9..6694ed8784 100644 --- a/plugins/auth-node/src/oauth/PassportOAuthAuthenticatorHelper.test.ts +++ b/plugins/auth-node/src/oauth/PassportOAuthAuthenticatorHelper.test.ts @@ -26,7 +26,9 @@ class FailureStrategy extends Strategy { describe('PassportOAuthAuthenticatorHelper', () => { describe('start', () => { it('should gracefully handle errors if unable to start', async () => { - const helper = PassportOAuthAuthenticatorHelper.from(new FailureStrategy()); + const helper = PassportOAuthAuthenticatorHelper.from( + new FailureStrategy(), + ); await expect(helper.start({} as any, {})).rejects.toThrow( 'Authentication failed, failure', ); @@ -35,7 +37,9 @@ describe('PassportOAuthAuthenticatorHelper', () => { describe('authenticate', () => { it('should gracefully handle errors if unable to authenticate', async () => { - const helper = PassportOAuthAuthenticatorHelper.from(new FailureStrategy()); + const helper = PassportOAuthAuthenticatorHelper.from( + new FailureStrategy(), + ); await expect(helper.authenticate({} as any, {})).rejects.toThrow( 'Authentication failed, failure', );