stub-spawn-once

v2.3.0
Stubs child_process.spawn for a single command; cleans up afterwards. Perfect for testing.
exec mock spawn stub test testing

ban

ban

deps

deps-ok && dependency-check --no-dev .

issues

git-issues

license

license-checker --production --onlyunknown --csv

lint

standard --verbose --fix src/*.js

prelint

npm run pretty

pretest

npm run lint

pretty

prettier-standard 'src/*.js'

secure

nsp check

size

t="$(npm pack .)"; wc -c "${t}"; tar tvf "${t}"; rm "${t}";

test

npm run unit

unit

mocha src/*-spec.js

semantic-release

semantic-release pre && npm publish && semantic-release post

demo

node src/demo.js
npm i stub-spawn-once

Metadata

  • MIT
  • >=6
  • Gleb Bahmutov
  • released 7/11/2017

Downloads

Maintainers