This commit is contained in:
jothisubaramaniam
2020-11-24 17:24:03 -05:00
parent 3c66f864b2
commit 7e49365080
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
@@ -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;
}),