Skip to content

Commit e529915

Browse files
committed
Makefile - Mocha unit tests; Popup Color Generation Tests - in progress
1 parent ad19add commit e529915

File tree

5 files changed

+808
-1757
lines changed

5 files changed

+808
-1757
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,13 @@ deployJS:
4949
@echo Generating deploy JS files...
5050
@$(NODE_BIN)/babel $(SRC) --out-dir $(DIST)
5151

52+
unitTest:
53+
@echo Unit testing..
54+
@$(NODE_BIN)/mocha --require @babel/register 'test/*.spec.js'
55+
5256
deploy: lint
5357
@echo Deploy...
58+
@make unitTest
5459
@rm -rf dist && mkdir dist
5560
@rm -rf $(EXAMPLE_DIST) && mkdir -p $(EXAMPLE_DIST)
5661
@make deployJS

0 commit comments

Comments
 (0)