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

Support Absolute Paths for Dev and Test Environment #816

Open
ijemmao opened this issue Nov 1, 2024 · 0 comments
Open

Support Absolute Paths for Dev and Test Environment #816

ijemmao opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ijemmao
Copy link
Collaborator

ijemmao commented Nov 1, 2024

Is your feature request related to a problem? Please describe.
Currently, the project isn't set up to support absolute paths (i.e. src/pages/...). The project only supports relative paths (../../pages/...).

Describe the solution you'd like
To make it easier to manage and move files in the project, we would like to have the project support absolute paths and begin to migrate all our relative paths to start using absolute paths.

The best solution for this issue is just to reconfigure the project so that it has the ability to support absolute paths. There's no need to start migrating all relative paths since that can be addressed in a follow-up issue.

Describe alternatives you've considered
N/A

Additional context
It seems like our testing environment is the only reason why we don't support absolute paths. VSCode and TS are able to resolve paths as expected with absolute paths, but our Jest testing environment is unable to resolve modules.

@ijemmao ijemmao added the enhancement New feature or request label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants