aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-05-14 08:28:51 +0200
committerGitHub <noreply@github.com>2021-05-14 07:28:51 +0100
commit05fb1f61d56c29f5637dc7fba218e92a24145f92 (patch)
treeda93f85c692c2577dfc81798451f2b2a98630287 /Makefile
parent44286e29f0a96e0228ebca567b6694e7b2ffccd3 (diff)
downloadgitea-05fb1f61d56c29f5637dc7fba218e92a24145f92.tar.gz
gitea-05fb1f61d56c29f5637dc7fba218e92a24145f92.zip
Add jest rootDir and test-frontend dependency (#15860)
- Define jest rootDir to limit where it looks for test files - Add missing dependency on test-frontend target so it can be ran from a clean checkout
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6074f541c7..8a27365aa9 100644
--- a/Makefile
+++ b/Makefile
@@ -359,7 +359,7 @@ test-backend:
@$(GO) test $(GOTESTFLAGS) -mod=vendor -tags='$(TEST_TAGS)' $(GO_PACKAGES)
.PHONY: test-frontend
-test-frontend:
+test-frontend: node_modules
@NODE_OPTIONS="--experimental-vm-modules --no-warnings" npx jest --color
.PHONY: test-check