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

test in watch mode does not receive any input #2301

Open
1 of 4 tasks
comatory opened this issue May 10, 2024 · 0 comments
Open
1 of 4 tasks

test in watch mode does not receive any input #2301

comatory opened this issue May 10, 2024 · 0 comments

Comments

@comatory
Copy link

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

  • 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox

    Can't easily provide failing example on Stackblitz since it is related to tooling of the monorepo itself

  • 2. A failing test has been provided

  • 3. A local solution has been provided

  • 4. A pull request is pending review


Describe the bug

Running pnpm test launches test suites in watch mode which is fine. The problems is, I'd like to filter down to specific unit test in the watch mode but it seems like any input I provide, it is not registered by the test runner (which I assume is vitest).

To Reproduce Steps to reproduce the behavior:

  1. Run pnpm test
  2. Wait for all the compilation to finish until "Waiting for file changes..." appears
  3. Press h or q key

Expected behavior

I would expect menu to appear where I can enter filter mode, or even ability to quit. Only CTRL+C works

Environment:

  • OS: macOS Sonoma 14.3.1
  • @graphql-eslint/eslint-plugin: "4.0.0-alpha.0"
  • Node.js: 20.11.0

Additional context

Check video for the behaviour, you can see the entered characters appear on screen. Maybe this is vitest issue but I've been unable to find anything similar. I use tmux so not sure if that can be an issue.

Screen.Recording.2024-05-10.at.21.42.59.mov
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

No branches or pull requests

1 participant