call-spy

v1.0.2
Tiny wrapper for spying on function calls.
spy test

clean:dist

rimraf dist

clean:coverage

rimraf coverage .nyc_output

clean

npm run clean:dist && npm run clean:coverage

compile

tsc --skipLibCheck

compile:watch

tsc --skipLibCheck --watch

lint

tslint "src/**/*.ts*" --force

test

ava

test:watch

ava --watch

coverage

nyc --reporter=html ava

report

nyc report

report:html

open coverage/index.html

prepublish

npm run clean && npm run lint && npm run compile && npm run coverage

Metadata

  • MIT
  • Whatever
  • Fabio Spampinato
  • released 3/5/2017

Downloads

Maintainers