@hackmd/chai-http

v4.3.1
Extend Chai Assertion library with tests for http apis
chai chai-plugin browser http request vendor supertest superagent

build

npm run build:js && npm run build:ts

prebuild:js

rm -rf dist

build:js

simplifyify lib/http.js --outfile dist/chai-http.js --bundle --minify --debug --standalone chaiHttp

build:ts

cd types && tsc

start

npm-run-all --parallel watch server

watch

npm run build:js -- --watch

server

http-server -o -c-1

test

istanbul cover --report lcovonly _mocha

coverage

if [ -z "$COVERALLS_REPO_TOKEN" ]; then cat coverage/lcov.info | coveralls; fi

release

npm run build && semantic-release
npm i @hackmd/[email protected]

Metadata

  • MIT
  • >=10
  • Jake Luer
  • released 1/21/2022

Downloads