mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 12:07:09 +00:00
ci(replay-ui): run bun test via make web-test target
This commit is contained in:
1 parent
5d1d083f57
commit
09bcb9ea82
1 file changed
+5
-2
@@ -22,7 +22,7 @@ DOCS_TEMPLATE := docs/_template/page.html
|
|||||||
REPLAY_DIST := internal/replay/dist
|
REPLAY_DIST := internal/replay/dist
|
||||||
WEB_DIST := replay-ui/dist
|
WEB_DIST := replay-ui/dist
|
||||||
|
|
||||||
.PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-kotlin test-spec-api web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry
|
.PHONY: bootstrap proto sidecar sanderling install test test-go test-browser test-kotlin test-spec-api web-test web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
$(GO) mod download
|
$(GO) mod download
|
||||||
@@ -69,11 +69,14 @@ $(SIDECAR_EMBED): $(SIDECAR_JAR)
|
|||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
test: test-go test-spec-api web-typecheck
|
test: test-go test-spec-api web-typecheck web-test
|
||||||
|
|
||||||
test-go:
|
test-go:
|
||||||
$(GO) test $(GO_PACKAGES)
|
$(GO) test $(GO_PACKAGES)
|
||||||
|
|
||||||
|
web-test:
|
||||||
|
cd replay-ui && bun install --frozen-lockfile && bun test
|
||||||
|
|
||||||
# Drives small web fixtures and the chrome driver through real headless Chrome.
|
# Drives small web fixtures and the chrome driver through real headless Chrome.
|
||||||
# Kept out of `test` because it needs a Chrome binary on PATH.
|
# Kept out of `test` because it needs a Chrome binary on PATH.
|
||||||
test-browser:
|
test-browser:
|
||||||
|
|||||||
Reference in new issue
Block a user