Skip to content

Commit

Permalink
Update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 18, 2018
1 parent 516084f commit 9005002
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
"glb"
],
"devDependencies": {
"ava": "*",
"read-chunk": "^2.0.0",
"xo": "*"
"ava": "^1.0.1",
"read-chunk": "^3.0.0",
"xo": "^0.23.0"
}
}
5 changes: 3 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,14 @@ const testFile = (t, type, name) => {
t.is(check(type, name), type);
};

let i = 0;
for (const type of types) {
if (Object.prototype.hasOwnProperty.call(names, type)) {
for (const name of names[type]) {
test(type, testFile, type, name);
test(`${type} ${i++}`, testFile, type, name);
}
} else {
test(type, testFile, type);
test(`${type} ${i++}`, testFile, type);
}
}

Expand Down

0 comments on commit 9005002

Please sign in to comment.