From 7e49365080205c97e4937b9109bf681270c029e0 Mon Sep 17 00:00:00 2001 From: jothisubaramaniam Date: Tue, 24 Nov 2020 17:24:03 -0500 Subject: [PATCH] fix ci --- .changeset/auth-backend-ten-doors-exist.md | 2 +- plugins/auth-backend/src/lib/flow/authFlowHelpers.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.changeset/auth-backend-ten-doors-exist.md b/.changeset/auth-backend-ten-doors-exist.md index 97a3a421ee..2dafaf728d 100644 --- a/.changeset/auth-backend-ten-doors-exist.md +++ b/.changeset/auth-backend-ten-doors-exist.md @@ -3,4 +3,4 @@ '@backstage/plugin-auth-backend': patch --- -bugfix: issue 3223 - detect mismatching origin and indicate it in the message at auth failure +bug fix: issue 3223 - detect mismatching origin and indicate it in the message at auth failure diff --git a/plugins/auth-backend/src/lib/flow/authFlowHelpers.test.ts b/plugins/auth-backend/src/lib/flow/authFlowHelpers.test.ts index 5e4e5f875b..10fb82eb36 100644 --- a/plugins/auth-backend/src/lib/flow/authFlowHelpers.test.ts +++ b/plugins/auth-backend/src/lib/flow/authFlowHelpers.test.ts @@ -82,10 +82,10 @@ describe('oauth helpers', () => { }); it('should call postMessage twice but only one of them with target *', () => { - let responseBody: String; + let responseBody = ''; const mockResponse = ({ - end: jest.fn(function (body) { + end: jest.fn(body => { responseBody = body; return this; }),