chore(package): update xo to version 0.28.1

Closes #1488
This commit is contained in:
greenkeeper[bot]
2020-03-26 23:55:26 -04:00
committed by Pierre Vanduynslager
parent b5488ae7a5
commit f899fa9a7c
14 changed files with 120 additions and 112 deletions
+4 -4
View File
@@ -7,11 +7,11 @@ const {SECRET_REPLACEMENT} = require('../lib/definitions/constants');
test.beforeEach(t => {
t.context.logs = '';
t.context.errors = '';
t.context.stdout = stub(process.stdout, 'write').callsFake(val => {
t.context.logs += val.toString();
t.context.stdout = stub(process.stdout, 'write').callsFake(value => {
t.context.logs += value.toString();
});
t.context.stderr = stub(process.stderr, 'write').callsFake(val => {
t.context.errors += val.toString();
t.context.stderr = stub(process.stderr, 'write').callsFake(value => {
t.context.errors += value.toString();
});
});