mirror of https://github.com/nodejs/node.git
17 lines
377 B
JavaScript
17 lines
377 B
JavaScript
var test = require('tap').test
|
|
|
|
var manifest = require('../../package.json')
|
|
var deps = Object.keys(manifest.dependencies)
|
|
var bundled = manifest.bundleDependencies
|
|
|
|
test('all deps are bundled deps or dev deps', function (t) {
|
|
deps.forEach(function (name) {
|
|
t.assert(
|
|
bundled.indexOf(name) !== -1,
|
|
name + ' is in bundledDependencies'
|
|
)
|
|
})
|
|
|
|
t.end()
|
|
})
|