Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
DEBUG: add diagnostic stuff for appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 14, 2017
1 parent b586076 commit 444c089
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/registry.manifest.cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,21 @@ var OPTS = {
}
}

// DEBUG STUFF FOR ISAAC
var signalExit = require('signal-exit')
signalExit(function (code, signal) {
console.error('SE code=%j signal=%j process.exitCode=%j', code, signal, process.exitCode)
})
process.on('exit', function (code) {
console.error('PE code=%j process.exitCode=%j', code, process.exitCode)
})
process.reallyExit = (function (original) {
return function (code) {
console.error('reallyExit code=%j process.exitCode=%j', code, process.exitCode)
return original.apply(this, arguments)
}
})(process.reallyExit)

test('memoizes identical registry requests', function (t) {
t.plan(2)
var srv = tnock(t, OPTS.registry)
Expand Down

0 comments on commit 444c089

Please sign in to comment.