diff options
author | silverwind <me@silverwind.io> | 2021-05-14 08:28:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 07:28:51 +0100 |
commit | 05fb1f61d56c29f5637dc7fba218e92a24145f92 (patch) | |
tree | da93f85c692c2577dfc81798451f2b2a98630287 /Makefile | |
parent | 44286e29f0a96e0228ebca567b6694e7b2ffccd3 (diff) | |
download | gitea-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |