You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a new functionality. Some duration formatting utilities for videos. Along with it came a duration-util.test.js file and updates to a test-data.js file. Both in the tests directory.
The duration-util.test.js file is dependent on the changes to the test-data.js file.
After the git checkout the duration-util.test.js file remained though the test-data.js file was rolled back. This caused false positive test errors.
Locally, I added a rm -rf tests line to the index.js file in dist right before the git checkout and it cleaned up my problem.
Since, you are effectively replacing everything in the git checkout list this may be ok as long as some scrubbing occurs to ensure no one is accidentally passing in --paths /,foo, know what I mean? ;-)
The text was updated successfully, but these errors were encountered:
I added a new functionality. Some duration formatting utilities for videos. Along with it came a
duration-util.test.js
file and updates to atest-data.js
file. Both in thetests
directory.The
duration-util.test.js
file is dependent on the changes to thetest-data.js
file.After the git checkout the
duration-util.test.js
file remained though thetest-data.js
file was rolled back. This caused false positive test errors.Locally, I added a
rm -rf tests
line to the index.js file in dist right before thegit checkout
and it cleaned up my problem.Since, you are effectively replacing everything in the
git checkout
list this may be ok as long as some scrubbing occurs to ensure no one is accidentally passing in--paths /,foo
, know what I mean? ;-)The text was updated successfully, but these errors were encountered: