Makefile: webapp test should depend on npm install

This commit is contained in:
Jesse Hallam 2018-07-26 15:25:04 -04:00
parent 0967bd43f2
commit f387133c21
No known key found for this signature in database
GPG key ID: E7959EB6518AF966

View file

@ -107,7 +107,7 @@ endif
# test runs any lints and unit tests defined for the server and webapp, if they exist
.PHONY: test
test:
test: webapp/.npminstall
ifneq ($(HAS_SERVER),)
cd server && $(GO) test -v -coverprofile=coverage.txt ./...
endif