Skip to content

Commit

Permalink
Merge pull request #113 from denis-sokolov/simple-ava
Browse files Browse the repository at this point in the history
Simplify AVA config
  • Loading branch information
fregante committed Sep 26, 2020
2 parents 3ebc96d + d5748de commit f4c55e0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"lint-fix": "xo --fix && prettier --write . '!**/*.js'",
"lint": "xo && prettier --check . '!**/*.js'",
"test": "ava test/*.js",
"test": "ava",
"prepack": "npm run lint && npm run test"
},
"keywords": [
Expand Down Expand Up @@ -41,12 +41,6 @@
"prettier": "^2.1.2",
"xo": "^0.33.1"
},
"ava": {
"files": [
"test/**/*",
"!test/lib"
]
},
"xo": {
"extends": [
"plugin:promise/recommended"
Expand Down
2 changes: 1 addition & 1 deletion test/filter-user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require('ava');
const removeGithubForks = require('..');
const lib = require('./lib');
const lib = require('./helpers');

test.cb('should not delete a fork if user option given', (t) => {
const mock = lib.mock({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/progress.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require('ava');
const removeGithubForks = require('..');
const lib = require('./lib');
const lib = require('./helpers');

test.cb('should report progress', (t) => {
const mock = lib.mock({
Expand Down
2 changes: 1 addition & 1 deletion test/simple.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require('ava');
const removeGithubForks = require('..');
const lib = require('./lib');
const lib = require('./helpers');

test.cb('should delete a fork with no branches', (t) => {
const mock = lib.mock({
Expand Down

0 comments on commit f4c55e0

Please sign in to comment.