Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Added `make test-unit`

Tj Holowaychukbd227035ca36
diff --git a/Makefile b/Makefile
index 9ea57cec..2e16c45e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,9 @@
TESTS = test/unit/*.js
REPORTER = list
-test: test-bdd test-tdd test-exports
+test: test-bdd test-tdd test-exports test-unit
+
+test-unit:
@./bin/mocha \
--require should \
--reporter $(REPORTER) \
@@ -30,4 +32,4 @@ test-exports:
--ui exports \
test/exports.js
-.PHONY: test test-bdd test-tdd test-exports
\ No newline at end of file
+.PHONY: test test-bdd test-tdd test-exports test-unit
\ No newline at end of file