Skip to content

Commit

Permalink
test: use fakeRegistry to fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Jan 18, 2019
1 parent e959e14 commit 46cdebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/tap/404-private-registry-scoped.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var path = require('path')
var mkdirp = require('mkdirp')
var rimraf = require('rimraf')
var common = require('../common-tap.js')
var mr = require('npm-registry-mock')
var mr = common.fakeRegistry.compat
var server

var testdir = path.join(__dirname, path.basename(__filename, '.js'))
Expand Down
2 changes: 1 addition & 1 deletion test/tap/404-private-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var path = require('path')
var mkdirp = require('mkdirp')
var rimraf = require('rimraf')
var common = require('../common-tap.js')
var mr = require('npm-registry-mock')
var mr = common.fakeRegistry.compat
var server

var packageName = path.basename(__filename, '.js')
Expand Down

0 comments on commit 46cdebe

Please sign in to comment.