-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Source is not transpiled to lib/ when running tests #2541
Comments
Yes, this is bug or incorrect docs. I always run npm run build && npm test when developing. |
Is there any problem with updating the script in |
I think that should be eay to go. Running tests without build should separated to own script. Probably test is not doing build because some people are using build-watch for the code and then just running tests without building vode separately. |
And I really cant write properly with touch screen 😅 |
😄 No problem. I'll get this fixed after the timestamps thing. |
So, with all that back and forth I got lost. This isn't actually fixed is it? |
@ricardograca No, it's not. Seems the revert decided closed it again.. Reverted due to this |
Environment
Knex version: 0.14.4
Database + version: Not relevant
OS: Ubuntu 16.04.4
Bug
Running the test suite doesn't automatically transpile
src/
tolib/
even though the Contributing document says that it should:Looking at the
test
script inpackage.json
it looks like it just calls thepre-test
script which simply runs the linter and not the babel compiler.Steps to reproduce
npm install
src
so that a test would failnpm test
Expected results
The changes made to the file in
src
make the test suite fail.Actual results
The test suite completes successfully because the changes are not being transpiled to
lib
.Missing / erroneus documentation
This could also be a case of incorrect documentation.
The text was updated successfully, but these errors were encountered: