Skip to content

Commit

Permalink
Update src/receivers/HTTPReceiver.spec.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Kazuhiro Sera <[email protected]>
  • Loading branch information
filmaj and seratch authored Jan 21, 2022
1 parent 76d5593 commit f1bf78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/receivers/HTTPReceiver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ describe('HTTPReceiver', function () {
await receiver.requestListener(fakeReq, fakeRes);
assert(installProviderStub.generateInstallUrl.calledWith(sinon.match({ metadata, scopes, userScopes })));
assert.isTrue(writeHead.calledWith(200));
assert.isTrue(setHeader.calledWith('Content-Type', 'text/html'));
assert.isTrue(setHeader.calledWith('Content-Type', 'text/html; charset=utf-8'));
});

it('should use a custom HTML renderer for the install path webpage', async function () {
Expand Down

0 comments on commit f1bf78b

Please sign in to comment.