Skip to content

Commit

Permalink
Lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pjlevitt committed Apr 16, 2020
1 parent 5954425 commit bb7020c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/kinesis-client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ describe('lib/kinesis-client', () => {
sdkClient[methodName].mockImplementationOnce(() => ({
promise: () => Promise.reject(error)
}));
const stackBefore = await client[methodName]({}).catch(err => err.stack);
const stackBefore = await client[methodName]({}).catch((err) => err.stack);

client = new KinesisClient({ logger, streamName: 'test-stream' });
sdkClient = new Kinesis();
Expand All @@ -148,7 +148,7 @@ describe('lib/kinesis-client', () => {
promise: () => Promise.reject(error)
}));
getStackObj.mockReturnValueOnce({ stack: '\n' });
const stackAfter = await client[methodName]({}).catch(err => err.stack);
const stackAfter = await client[methodName]({}).catch((err) => err.stack);

expect(stackBefore).not.toEqual(stackAfter);
});
Expand Down

0 comments on commit bb7020c

Please sign in to comment.