This repository has been archived by the owner on Jul 3, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(manifest): removed extract-shrinkwrap test
- Loading branch information
Showing
3 changed files
with
37 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/`') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file was deleted.
Oops, something went wrong.