Skip to content

Commit 0d3591a

Browse files
Update ava to version 2.4.0 (#302)
* chore(package): update ava to version 2.4.0 Closes #280 * Fix ava tests Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
1 parent cb9f451 commit 0d3591a

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"yargs": "^15.0.2"
3333
},
3434
"devDependencies": {
35-
"ava": "^1.0.1",
35+
"ava": "^2.4.0",
3636
"coveralls": "^3.0.0",
3737
"eslint": "^5.0.0",
3838
"eslint-config-problems": "2.0.0",
@@ -70,5 +70,10 @@
7070
"url": "https://github.com/postcss/postcss-cli/issues"
7171
},
7272
"homepage": "https://github.com/postcss/postcss-cli#readme",
73-
"license": "MIT"
73+
"license": "MIT",
74+
"ava": {
75+
"helpers": [
76+
"test/helpers/*"
77+
]
78+
}
7479
}

test/error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test('plugin throws on require', t => {
5656
return cli([
5757
'test/fixtures/a.css',
5858
'-u',
59-
'./test/fixtures/bad-plugin',
59+
'./test/fixtures/_bad-plugin',
6060
'-o',
6161
tmp()
6262
]).then(({ error, code }) => {

0 commit comments

Comments
 (0)