Skip to content

tests(init): remove MockTTY#2974

Merged
marvinhagemeister merged 4 commits intodenoland:mainfrom
iuioiua:remove-mock-init
May 19, 2025
Merged

tests(init): remove MockTTY#2974
marvinhagemeister merged 4 commits intodenoland:mainfrom
iuioiua:remove-mock-init

Conversation

@iuioiua
Copy link
Contributor

@iuioiua iuioiua commented May 19, 2025

These changes simplify implementation logic of the init workflow and mock prompt() and console() functionality in a more direct manner. This makes things easier to reason about by jumping through fewer mental hoops.

@iuioiua iuioiua marked this pull request as ready for review May 19, 2025 08:48
Copy link
Collaborator

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

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

Nice, stubbing + using is a great pattern for this 👍

@marvinhagemeister marvinhagemeister merged commit cc93a1f into denoland:main May 19, 2025
7 checks passed
@iuioiua iuioiua deleted the remove-mock-init branch May 19, 2025 09:05
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