aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/init-package-json/test/scope-in-config.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/init-package-json/test/scope-in-config.js')
-rw-r--r--deps/npm/node_modules/init-package-json/test/scope-in-config.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/deps/npm/node_modules/init-package-json/test/scope-in-config.js b/deps/npm/node_modules/init-package-json/test/scope-in-config.js
deleted file mode 100644
index 32bba16ede..0000000000
--- a/deps/npm/node_modules/init-package-json/test/scope-in-config.js
+++ /dev/null
@@ -1,33 +0,0 @@
-var fs = require('fs')
-var path = require('path')
-
-var rimraf = require('rimraf')
-var tap = require('tap')
-
-var init = require('../')
-
-var EXPECT = {
- name: '@scoped/test',
- version: '1.0.0',
- description: '',
- author: '',
- scripts: { test: 'echo \"Error: no test specified\" && exit 1' },
- main: 'basic.js',
- keywords: [],
- license: 'ISC'
-}
-
-tap.test('--yes with scope', function (t) {
- init(__dirname, __dirname, { yes: 'yes', scope: '@scoped' }, function (er, data) {
- if (er) throw er
-
- console.log('')
- t.has(data, EXPECT)
- t.end()
- })
-})
-
-tap.test('teardown', function (t) {
- rimraf.sync(path.join(__dirname, 'package.json'))
- t.end()
-})