Skip to content

Commit

Permalink
Merge pull request #58 from badgateway/node-test-runner
Browse files Browse the repository at this point in the history
Use the built-in Node test runner, removes 100's of deps!
  • Loading branch information
evert authored Jan 28, 2024
2 parents 1414079 + 3e7cd7c commit 449bc39
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 2,297 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
"es6": true
},
"extends": [
"eslint:recommended",
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ clean:

.PHONY: test
test: lint test/httpwg-tests/list.json dist/build
node_modules/.bin/nyc node_modules/.bin/mocha
node --test --experimental-test-coverage

.PHONY: test-debug
test-debug:
node_modules/.bin/mocha --inspect-brk
node --test --experimental-test-coverage --inspect-brk

.PHONY: lint
lint:
Expand Down
Loading

0 comments on commit 449bc39

Please sign in to comment.