Skip to content

Commit c6457ac

Browse files
authored
fix: allow impacted JS run when no tests match (#38339)
1 parent f91b34b commit c6457ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ test-impacted-js: build-js
244244
exit 0; \
245245
fi; \
246246
echo "Running impacted JavaScript unit tests for changed files: $$CHANGED_JS_FILES"; \
247-
cd actions/setup/js && printf '%s\n' "$$CHANGED_JS_FILES" | sed 's|^actions/setup/js/||' | tr '\n' '\0' | xargs -0 -r npm run test:js -- --no-file-parallelism $(JS_IMPACTED_TEST_EXCLUDES)
247+
cd actions/setup/js && printf '%s\n' "$$CHANGED_JS_FILES" | sed 's|^actions/setup/js/||' | tr '\n' '\0' | xargs -0 -r npm run test:js -- --no-file-parallelism --passWithNoTests $(JS_IMPACTED_TEST_EXCLUDES)
248248

249249
# Test impacted Go unit tests only (excluding integration tests)
250250
.PHONY: test-impacted-go

0 commit comments

Comments
 (0)