Skip to content

Commit

Permalink
Bump lodash from 4.17.11 to 4.17.14 (#43)
Browse files Browse the repository at this point in the history
* Bump lodash from 4.17.11 to 4.17.14
  • Loading branch information
dependabot[bot] authored and regevbr committed Jul 13, 2019
1 parent da414be commit 331a19e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: node_js
node_js:
- "6"
- "7"
- "8"
- "9"
- "10"
- "12"
install:
- npm install
script:
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "squiss-ts",
"version": "4.0.0",
"version": "4.0.1",
"description": "High-volume SQS poller",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -21,7 +21,8 @@
"url": "git+https://github.com/PruvoNet/squiss-ts.git"
},
"files": [
"dist"
"/dist/*.d.ts",
"/dist/*.js"
],
"keywords": [
"aws",
Expand Down
16 changes: 6 additions & 10 deletions test/src/TimeoutExtender.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ const getS3Stub = () => {
return new S3Stub() as any as S3;
};

const wait = (ms?: number) => delay(ms === undefined ? 20 : ms);

let inst = null;
let clock: any = null;
const msgSquissStub = getSquissStub();
Expand Down Expand Up @@ -183,14 +181,12 @@ describe('TimeoutExtender', () => {
clock.tick(20000);
spy.should.be.calledOnce();
fooMsg.isHandled().should.eql(true);
return wait().then(() => {
keepSpyMessage.should.be.calledOnce();
keepSpySquiss.should.be.calledOnce();
keepSpySquiss.should.be.calledWith(fooMsg);
timeoutSpyMessage.should.be.calledOnce();
timeoutSpySquiss.should.be.calledOnce();
timeoutSpySquiss.should.be.calledWith(fooMsg);
});
keepSpyMessage.should.be.calledOnce();
keepSpySquiss.should.be.calledOnce();
keepSpySquiss.should.be.calledWith(fooMsg);
timeoutSpyMessage.should.be.calledOnce();
timeoutSpySquiss.should.be.calledOnce();
timeoutSpySquiss.should.be.calledWith(fooMsg);
});
it('emits error on the parent Squiss object in case of issue', (done) => {
clock = sinon.useFakeTimers(100000);
Expand Down

0 comments on commit 331a19e

Please sign in to comment.