Skip to content

Commit

Permalink
do not pack map files
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr committed Jul 13, 2019
1 parent fb0d803 commit 271810f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"url": "git+https://github.com/PruvoNet/squiss-ts.git"
},
"files": [
"dist"
"/dist/*.d.ts",
"/dist/*.js"
],
"keywords": [
"aws",
Expand Down
5 changes: 3 additions & 2 deletions test/src/TimeoutExtender.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe('TimeoutExtender', () => {
clock.tick(15000);
spy.should.be.calledThrice();
});
it('renews only until the configured age limit', () => {
it('renews only until the configured age limit', (done) => {
const keepSpyMessage = sinon.spy();
const keepSpySquiss = sinon.spy();
const timeoutSpyMessage = sinon.spy();
Expand All @@ -183,13 +183,14 @@ describe('TimeoutExtender', () => {
clock.tick(20000);
spy.should.be.calledOnce();
fooMsg.isHandled().should.eql(true);
return wait().then(() => {
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);
done();
});
});
it('emits error on the parent Squiss object in case of issue', (done) => {
Expand Down

0 comments on commit 271810f

Please sign in to comment.