Skip to content

Fix tests for GitHub actions.#47

Merged
theengineear merged 1 commit intomainfrom
fix-test-action
Mar 19, 2025
Merged

Fix tests for GitHub actions.#47
theengineear merged 1 commit intomainfrom
fix-test-action

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