Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Apr 24, 2025

Rework the helper run_js_test_file() to return Result<Vec<String>, RunFailure>, which makes it more ergonomic to handle run errors in tests expecting the run to succeed.

This is a follow-up for the discussion we had in #740 (comment)

Rework the helper to return `Result<Vec<String>, RunFailure>`,
which makes it more ergonomic to handle run errors in tests
expecting the run to succeed.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Copy link
Member

@pyropy pyropy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice refactor, code looks much cleaner! 👍🏻

@bajtos bajtos enabled auto-merge (squash) June 23, 2025 13:48
@bajtos bajtos merged commit 0c971d3 into main Jun 23, 2025
16 checks passed
@bajtos bajtos deleted the refactor-integration-tests branch June 23, 2025 14:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants