Add a task of webapp test (#51)

* Add a task of webapp test

* Flesh out tests

* Simplify test case

* Remove unnecessary dependency

* Fix style

* Add dependency

* Add trainling newline
This commit is contained in:
Yusuke Nemoto 2019-07-13 01:07:20 +09:00 committed by Maria A Nunez
parent b8201a2731
commit d08a4c1ccc
5 changed files with 2310 additions and 32 deletions

View file

@ -157,7 +157,7 @@ ifneq ($(HAS_SERVER),)
$(GO) test -v $(GO_TEST_FLAGS) ./server/...
endif
ifneq ($(HAS_WEBAPP),)
cd webapp && $(NPM) run fix;
cd webapp && $(NPM) run fix && $(NPM) run test;
endif
## Creates a coverage report for the server code.