immutable-js-oss / immutable-js

Immutable persistent data collections for Javascript which increase efficiency and simplicity.
https://immutable-js-oss.github.io/immutable-js/
MIT License
37 stars 6 forks source link

[DX] run test on non-builded codebase #202

Closed jdeniau closed 3 years ago

jdeniau commented 3 years ago

I open this issue as for a first time contributor I ran into some bumps on the road :

To run tests, I have to "build" the project, as apparently the test run on the compiled version of the code.

Otherwise, if you clone a fresh project and run yarn install && yarn test it does throw an exception about missing files.

One more "issue" with that is that the stacktrace in the test suite reports incorrect files and line numbers.

So my question here is that :