Skip to content

test-runner: write out timestamp as first line in watch mode #57206

Open
@jsumners-nr

Description

@jsumners-nr

What is the problem this feature will solve?

Currently, running node --watch --test some.test.js and then making changes in that test file will result in difficult to recognize output. That is, it's difficult to determine if the output is new when the result hasn't changed.

What is the feature you are proposing to solve the problem?

Whenever watch mode re-runs the script, write out a timestamp as the first line of the output, e.g. console.log(new Date().toISOString()).

What alternatives have you considered?

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.good first issueIssues that are suitable for first-time contributors.test_runnerIssues and PRs related to the test runner subsystem.

    Type

    No type

    Projects

    • Status

      Awaiting Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions