2 var path = require('path')
4 var rimraf = require('rimraf')
5 var tap = require('tap')
7 var init = require('../')
14 scripts: { test: 'echo \"Error: no test specified\" && exit 1' },
20 tap.test('--yes with scope', function (t) {
21 init(__dirname, __dirname, { yes: 'yes', scope: '@scoped' }, function (er, data) {
30 tap.test('teardown', function (t) {
31 rimraf.sync(path.join(__dirname, 'package.json'))