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

Publish our fake TTY implementation as its own package #2343

Closed
novemberborn opened this issue Jan 5, 2020 · 0 comments
Closed

Publish our fake TTY implementation as its own package #2343

novemberborn opened this issue Jan 5, 2020 · 0 comments

Comments

@novemberborn
Copy link
Member

AVA 3 no longer fakes a TTY in worker processes.

Instead we'd like users who depend on a fake TTY to load a helper module. Unfortunately this module does not exist yet.

It should be possible to take the removed code from #2337 and publish it as its own package. Call it fake-tty.

It could have a fake-tty/register entrypoint. This should use some default values for rows and columns.

Once this module exists, we could wrap it in an @ava/fake-tty package which would be able to inherit the settings of the main process through AVA's options. That's not something that regular modules should attempt to access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant