Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
test(manifest): removed extract-shrinkwrap test
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 17, 2017
1 parent e671641 commit 93c8030
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 75 deletions.
23 changes: 23 additions & 0 deletions test/extract-stream.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
'use strict'

var fs = require('fs')
var npmlog = require('npmlog')
var pipe = require('mississippi').pipe
var test = require('tap').test

require('./util/test-dir')(__filename)

var extractStream = require('../lib/extract-stream')

npmlog.level = process.env.LOGLEVEL || 'silent'
var OPTS = {
log: npmlog
}

test('basic extraction')
test('excludes symlinks')
test('renames .gitignore to .npmignore if not present')
test('accepts gid and uid opts')
test('accepts dmode/fmode/umask opts')
test('automatically handles gzipped tarballs')
test('strips first item in path, even if not `package/`')
14 changes: 14 additions & 0 deletions test/finalize-manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
'use strict'

var test = require('tap').test

require('./util/test-dir')(__filename)

var finalizeManifest = require('../lib/finalize-manifest')

test('returns a manifest with the right fields')
test('defaults all field to expected types + values')
test('manifest returned is immutable + inextensible')
test('fills in shrinkwrap if missing')
test('fills in shasum if missing')
test('fills in `bin` if `directories.bin` present')
75 changes: 0 additions & 75 deletions test/util.extract-shrinkwrap.js

This file was deleted.

0 comments on commit 93c8030

Please sign in to comment.