Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests for GitHub actions. #47

Merged
merged 1 commit into from
Mar 19, 2025
Merged

Fix tests for GitHub actions. #47

merged 1 commit into from
Mar 19, 2025

Conversation

theengineear
Copy link
Collaborator

Previously, the tests weren’t actually being run by GitHub actions for some time now. They would run locally, but the browser would silently fail to launch in GitHub when the action was run.

Additionally, we now “Bail out!” within “test.js” if any exceptions are caught — these are magic words that our TAP parser will recognize and they instruct the parser to immediately consider the test a failure.

Previously, the tests weren’t actually being run by GitHub actions for
some time now. They would run locally, but the browser would silently
fail to launch in GitHub when the action was run.

Additionally, we now “Bail out!” within “test.js” if any exceptions are
caught — these are magic words that our TAP parser will recognize and
they instruct the parser to immediately consider the test a failure.
@theengineear
Copy link
Collaborator Author

This is just copying over some related code changes from Netflix/x-element#272.

@theengineear
Copy link
Collaborator Author

FYI @klebba — seemed like the right time to fix this since I was making other changes in here anyhow.

@theengineear theengineear merged commit 3b7465d into main Mar 19, 2025
1 check passed
@theengineear theengineear deleted the fix-test-action branch March 19, 2025 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant