diff options
author | isaacs <i@izs.me> | 2014-05-15 03:20:30 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-05-15 03:20:30 +0400 |
commit | 43b5eec98b315f89ac706a8e4131c4f079feea78 (patch) | |
tree | b7947ae7161983b02163f45e059ef75807609d92 /test | |
parent | c29a0ee5ed731e79f131ee0d890409fafc656a6b (diff) |
npm-registry-client@1.0.0
Scope all cache files under the registry hostname, using the
npm-cache-filename module.
TODO: also store tarball files in the same spots, so that two
files from different registries don't clobber one another.
Diffstat (limited to 'test')
-rw-r--r-- | test/tap/cache-shasum.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tap/cache-shasum.js b/test/tap/cache-shasum.js index 460f2ee3f..2139d8fb7 100644 --- a/test/tap/cache-shasum.js +++ b/test/tap/cache-shasum.js @@ -43,7 +43,7 @@ test("npm cache add request", function(t) { test("compare", function(t) { var d = path.resolve(__dirname, "cache-shasum/request") var p = path.resolve(d, "2.27.0/package.tgz") - var r = require(path.resolve(d, ".cache.json")) + var r = require("./cache-shasum/localhost_1337/request/.cache.json") var rshasum = r.versions['2.27.0'].dist.shasum sha.get(p, function (er, pshasum) { if (er) |