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