-
Notifications
You must be signed in to change notification settings - Fork 19
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
[BUG] tap-testdir-* is not gitignored #348
Comments
Note this seems to happen in GitHub codespaces as well. |
One reason that those aren't currently ignored is that they are ephemeral and should be deleted by the end of And you make a good point about making it difficult to see what has changed and causing contributor friction. I'd be in favor of this change. @rotu would you like to make a PR for this? |
I gave it a shot in #350. Note that terminating tests with ctrl-c also results in these files not getting cleaned up, which compounds the problem (not sure if on purpose or due to npm/cli#6766). |
In my current setup I do rely on those files showing up in |
git status --ignored ./test It does seem odd to me that the snapshots are centralized under a |
Yeah I'll probably have to finally commig As to where tap puts things, that's something to bring up in the tapjs repos. I know Isaac is hard at work on the next major version right now. |
Running tests causes a lot of file churn. Although (usually) ephemeral, these files cause high CPU usage and can make developer tools difficult to use. These files also make linting fail. Now the files will be ignored by git and by eslint. ## References Fixes #348 Fixes #359 This is a rebase of #350 since it had yet another conflict. --------- Authored-by: Dan <[email protected]>
Is there an existing issue for this?
Current Behavior
When running npm/cli tests on windows, I was seeing many files churn in and out of the source control files list.
These ephemeral test files slow down the IDE considerably and can make it hard to see what actually changed.
Expected Behavior
Files created by tap tests should either be:
Steps To Reproduce
npm test
Environment
The text was updated successfully, but these errors were encountered: