1console.log('TAP Version 13') 2 3process.on('uncaughtException', function (er) { 4 if (er) { throw er } 5 console.log('not ok - Failed checking mock registry dep. Expect much fail!') 6 console.log('1..1') 7 process.exit(1) 8}) 9 10var assert = require('assert') 11var semver = require('semver') 12var mock = require('npm-registry-mock/package.json').version 13var req = require('../../package.json').devDependencies['npm-registry-mock'] 14 15assert(semver.satisfies(mock, req)) 16console.log('ok') 17console.log('1..1') 18