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
@@ -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;
}),