Skip to content

Publish our fake TTY implementation as its own package #2343

Closed
@novemberborn

Description

@novemberborn

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions