@erickmerchant/checkup
Advanced tools
Comparing version 7.7.0 to 7.7.1
{ | ||
"name": "@erickmerchant/checkup", | ||
"version": "7.7.0", | ||
"version": "7.7.1", | ||
"description": "Check multiple projects for various things.", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -11,3 +11,3 @@ const test = require('tape') | ||
await proxyquire('../', { | ||
'ora' ({ stream, text }) { | ||
ora ({ stream, text }) { | ||
return { | ||
@@ -26,3 +26,3 @@ start () { t.ok(true) }, | ||
}, | ||
'./src/checks': async () => { | ||
async './src/checks' () { | ||
return [] | ||
@@ -45,3 +45,3 @@ } | ||
await proxyquire('../', { | ||
'ora' ({ stream, text }) { | ||
ora ({ stream, text }) { | ||
return { | ||
@@ -60,3 +60,3 @@ start () { t.ok(true) }, | ||
}, | ||
'./src/checks': async () => { | ||
async './src/checks' () { | ||
return ['test'] | ||
@@ -63,0 +63,0 @@ } |
@@ -6,3 +6,3 @@ const test = require('tape') | ||
const checkGitStatus = proxyquire('../../src/check-git-status', { | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -12,3 +12,3 @@ stdout: '## master...origin/master' | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -30,3 +30,3 @@ callback(null) | ||
const checkGitStatus = proxyquire('../../src/check-git-status', { | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -36,3 +36,3 @@ stdout: '## develop...origin/develop\nM foo' | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -54,3 +54,3 @@ callback(null) | ||
const checkGitStatus = proxyquire('../../src/check-git-status', { | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -60,3 +60,3 @@ stdout: '## master...origin/master' | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -63,0 +63,0 @@ callback(new Error('test')) |
@@ -6,4 +6,4 @@ const test = require('tape') | ||
const checkDependencies = proxyquire('../../src/check-npm-audit', { | ||
'execa': {}, | ||
'fs': { | ||
execa: {}, | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -25,3 +25,3 @@ callback(new Error('test')) | ||
const checkDependencies = proxyquire('../../src/check-npm-audit', { | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -41,3 +41,3 @@ stdout: `{ | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -59,3 +59,3 @@ callback(null) | ||
const checkDependencies = proxyquire('../../src/check-npm-audit', { | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -75,3 +75,3 @@ stdout: `{ | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -93,3 +93,3 @@ callback(null) | ||
const checkDependencies = proxyquire('../../src/check-npm-audit', { | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -109,3 +109,3 @@ stdout: `{ | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -112,0 +112,0 @@ callback(null) |
@@ -6,4 +6,4 @@ const test = require('tape') | ||
const checkDependencies = proxyquire('../../src/check-npm-outdated', { | ||
'execa': {}, | ||
'fs': { | ||
execa: {}, | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -32,3 +32,3 @@ callback(new Error('test')) | ||
}, | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -38,3 +38,3 @@ stdout: '' | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -63,3 +63,3 @@ callback(null) | ||
}, | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -73,3 +73,3 @@ stdout: `{ | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -98,3 +98,3 @@ callback(null) | ||
}, | ||
'execa': async () => { | ||
async execa () { | ||
return { | ||
@@ -108,3 +108,3 @@ stdout: `{ | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -111,0 +111,0 @@ callback(null) |
@@ -6,4 +6,4 @@ const test = require('tape') | ||
const npmTest = proxyquire('../../src/check-npm-tst', { | ||
'execa': {}, | ||
'fs': { | ||
execa: {}, | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -25,6 +25,6 @@ callback(new Error('test')) | ||
const npmTest = proxyquire('../../src/check-npm-tst', { | ||
'execa': async () => { | ||
async execa () { | ||
return {} | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -46,6 +46,6 @@ callback(null) | ||
const npmTest = proxyquire('../../src/check-npm-tst', { | ||
'execa': async () => { | ||
async execa () { | ||
return new Error('not ok') | ||
}, | ||
'fs': { | ||
fs: { | ||
access (file, mode, callback) { | ||
@@ -52,0 +52,0 @@ callback(null) |
16372