Skip to content

Commit

Permalink
Merge pull request #20 from spiffytech/bump-dependencies
Browse files Browse the repository at this point in the history
Bump dependencies
  • Loading branch information
mdlavin committed Sep 24, 2019
2 parents 8fac92a + 53e09ec commit f870f3b
Show file tree
Hide file tree
Showing 4 changed files with 1,441 additions and 1,423 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"devDependencies": {
"@lifeomic/eslint-plugin-node": "^2.0.1",
"ava": "^0.25.0",
"ava": "^2.4.0",
"coveralls": "^3.0.2",
"eslint": "^6.0.0",
"luxon": "^1.3.1",
Expand Down
4 changes: 2 additions & 2 deletions test/build.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ test.serial('following a failed build that has not finished prints the log outpu
const write = sinon.stub(process.stdout, 'write');

try {
await test.throws(build.follow());
await test.throwsAsync(() => build.follow());

for (const chunk of logChunks) {
sinon.assert.calledWithExactly(write, chunk);
Expand Down Expand Up @@ -134,7 +134,7 @@ test('following a failed build that has already finished prints the log output a
const write = sinon.stub(process.stdout, 'write');

try {
await test.throws(build.follow());
await test.throwsAsync(() => build.follow());
sinon.assert.calledWithExactly(write, logText);
} finally {
write.restore();
Expand Down
2 changes: 1 addition & 1 deletion test/client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ test.serial('a client gives up after too many retries', async (test) => {

sinon.assert.calledOnce(create);
const httpClient = create.firstCall.returnValue;
const { response } = await test.throws(httpClient.get('http://localhost/error'));
const { response } = await test.throwsAsync(() => httpClient.get('http://localhost/error'));
test.is(response.status, 500);
} finally {
create.restore();
Expand Down

0 comments on commit f870f3b

Please sign in to comment.