lukeed / lukeed/uvu

Change test file paths to relative paths for easier access

Open
#247 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3k
Forks
101
PR merge metrics
No merged PRs in 30d

Description

Would you be open to a small change where the test file names display as relative paths?

When you try and command + click in a terminal you can't quickly open test files right now because the hyperlink is incorrect

See here where valueTypes/valueTypes.test.js links to `http://valueTypes/valueTypes.test.js

Image

If the file path was printed like ./path-to/valueTypes/valueTypes.test.js it would be clickable and automagically open in your default IDE.

This would be a tiny lil change that would add a tiny lil DX boost.

Thanks for the lib its the best ❤️

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the terminal output for the test file valueTypes/valueTypes.test.js and inspect where test file names are formatted. The change is done when displayed paths use a relative form such as ./path-to/valueTypes/valueTypes.test.js and command-click opens the file in a default IDE.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
developer-experience, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.