@debitoor/mocha-strict-dependencies
v1.1.0
Published
Mocha test, that checks that you have strict dependencies on your package.json, except of whitelisted
Downloads
662
Maintainers
Readme
mocha-strict-dependencies
Mocha test, that checks that you have strict dependencies on your package.json, except of whitelisted
#Usage
npm i -D -E @debitoor/mocha-strict-dependencies
echo "require('@debitoor/mocha-strict-dependencies')([]);" > test/strict-dependencies.spec.js
#Configuration
const listOfPackagesThatShouldHaveUnfixedVersion = [
'deep-extend',
'chai'
];
require('@debitoor/mocha-strict-dependencies')(listOfPackagesThatShouldHaveUnfixedVersion)