Skip to content

Commit

Permalink
test: clean dedupe-git-semver
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgw committed Jan 20, 2019
1 parent 1884892 commit fd5496d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/tap/dedupe-git-semver.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const test = require('tap').test
const requireInject = require('require-inject')
const Tacks = require('tacks')
const File = Tacks.File
const Symlink = Tacks.Symlink
const Dir = Tacks.Dir

const manifests = {
Expand Down Expand Up @@ -37,20 +36,17 @@ const npm = requireInject.installGlobally('../../lib/npm.js', {
const basedir = path.join(__dirname, path.basename(__filename, '.js'))
const testdir = path.join(basedir, 'testdir')
const cachedir = path.join(basedir, 'cache')
const globaldir = path.join(basedir, 'global')
const tmpdir = path.join(basedir, 'tmp')

const cwd = process.cwd()

const conf = {
cache: cachedir,
tmp: tmpdir,
prefix: testdir,
loglevel: 'silent',
'package-lock-only': true
}

let server
const fixture = new Tacks(Dir({
cache: Dir(),
global: Dir(),
Expand All @@ -74,7 +70,7 @@ const fixture = new Tacks(Dir({
// }
// })
// }),
'git-wrap-1.0.0.tgz': File(new Buffer(
'git-wrap-1.0.0.tgz': File(Buffer.from(
'1f8b0800000000000003ed8fcd0ac23010843df729423caaf9c13642df26' +
'b44bad9a3434f107a4efeec68aa7de2c8898ef32cb0c3bec3a5d1d7503dc' +
'8dca0ebeb38b991142a83c27537e44ee30db164a48a994c01987a210a873' +
Expand Down

0 comments on commit fd5496d

Please sign in to comment.