This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
Ejecting hardcodes your absolute project path in package.json
. #379
Closed
Description
In order to reproduce, eject and open package.json
:)
Look for the jest.globals['ts-jest'].tsConfigFile
key - it should be a relative path, like ./tsconfig.test.json
. Instead, it puts an absolute path there, like /Users/user/coding/test-proj/tsconfig.test.json
.
This is fine for small projects that you won't share with anyone, but as soon as other people have to work on that project or you want to set up a CI/CD process that runs your tests, you'll get errors related to that path not existing on other people's machines.
So, IMO this is pretty short-sighted. What do you think about it?
Metadata
Metadata
Assignees
Labels
No labels