Skip to content

Commit

Permalink
fix a typescript issue from changing from type aliases to interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aoberoi committed Mar 28, 2019
1 parent 4d3133c commit 09d6d6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion integration-tests/types/webclient-named-method-types.ts
Expand Up @@ -20,7 +20,6 @@ web.chat.postMessage({
const message: ChatPostMessageArguments = {
text: 'TEXT',
channel: 'CHANNEL',
// $ExpectError
key: 'VALUE',
};

Expand Down
2 changes: 1 addition & 1 deletion packages/web-api/src/WebClient.spec.js
Expand Up @@ -650,7 +650,7 @@ describe('WebClient', function () {
it('should send a request using the custom agent', function () {
const agent = new Agent({ keepAlive: true });
const spy = sinon.spy(agent, 'addRequest');
const client = new WebClient(token, { agent });
const client = new WebClient(token, { agent, retryConfig: rapidRetryPolicy });
return client.apiCall('method')
.catch(() => {
assert(spy.called);
Expand Down

0 comments on commit 09d6d6f

Please sign in to comment.