Skip to content

[BUG] tap-testdir-* is not gitignored #348

@rotu

Description

@rotu

Is there an existing issue for this?

  • I have searched the existing issues

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.

image

Expected Behavior

Files created by tap tests should either be:

  1. ignored by gitignore.
  2. created outside the git working tree

Steps To Reproduce

  1. In VSCode on Windows, clone https://github.com/npm/cli
  2. Open the Source Control pane
  3. Run npm test

Environment

  • npm: 9.6.7
  • Node: 18.17.1
  • OS: Windows 11
  • platform: AMD64 Desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions