Skip to content

Commit 3072ab6

Browse files
greenkeeper[bot]pvdlg
authored andcommitted
chore(package): update xo to version 0.23.0
1 parent bfef521 commit 3072ab6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"sinon": "^6.0.0",
3939
"strip-ansi": "^4.0.0",
4040
"tempy": "^0.2.1",
41-
"xo": "^0.22.0"
41+
"xo": "^0.23.0"
4242
},
4343
"engines": {
4444
"node": ">=8.3"

test/helpers/mockserver.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function start() {
3030
minTimeout: 1000,
3131
factor: 2,
3232
});
33-
} catch (err) {
33+
} catch (error) {
3434
throw new Error(`Couldn't start mock-server after 2 min`);
3535
}
3636
}
@@ -96,7 +96,7 @@ async function mock(
9696
* @param {Object} expectation The expectation created with `mock` function.
9797
* @return {Promise} A Promise that resolves if the expectation is met or reject otherwise.
9898
*/
99-
async function verify(expectation) {
99+
function verify(expectation) {
100100
return client.verify(expectation);
101101
}
102102

test/helpers/npm-registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function start() {
3939
minTimeout: 1000,
4040
factor: 2,
4141
});
42-
} catch (err) {
42+
} catch (error) {
4343
throw new Error(`Couldn't start npm-docker-couchdb after 2 min`);
4444
}
4545

0 commit comments

Comments
 (0)