From ccdcd5f112226b516b280a34e21ac2d22a9e40c9 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Sat, 15 Dec 2018 13:35:31 +0000 Subject: [PATCH] chore(package): update ava to version 1.0.1 --- package.json | 2 +- test/git.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index beb31129..6e2d7aee 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "p-reduce": "^1.0.0" }, "devDependencies": { - "ava": "^0.25.0", + "ava": "^1.0.1", "clear-module": "^3.0.0", "codecov": "^3.0.0", "commitizen": "^3.0.0", diff --git a/test/git.test.js b/test/git.test.js index 277ea2af..9353f855 100644 --- a/test/git.test.js +++ b/test/git.test.js @@ -84,7 +84,7 @@ test('Throw error if the last commit sha cannot be found', async t => { // Create a git repository, set the current working directory at the root of the repo const {cwd} = await gitRepo(); - await t.throws(gitHead({cwd})); + await t.throwsAsync(gitHead({cwd})); }); test('Push commit to remote repository', async t => {