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

feat: export test formatters #12

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

mdonnalley
Copy link
Contributor

@mdonnalley mdonnalley commented Dec 4, 2024

What does this PR do?

Export test result formatters instead of coupling them into AgentTester.details. Doing this prevents ink-ception† issues when plugin-agent and agents are using the same copy of ink in node_modules

†oclif/table unmounts an ink component during makeTable, which was being called before plugin-agent's unmount of oclif/multi-stage-output. This causes ink to get confused when trying to restore the console which was resulting in a TypeError: console.error is not a function

What issues does this PR fix or reference?

[skip-validate-pr]

@shetzel shetzel merged commit f78a2a4 into main Dec 5, 2024
16 checks passed
@shetzel shetzel deleted the mdonnalley/export-formatters branch December 5, 2024 16:44
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.

2 participants