Upgrade to Neutrino 9 - fix #1 #60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "gitlab-mr-iid-58"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It also seems linting wasn't working properly previously, now it did and I ran --fix and did some manual work to fix all lint errors.
I tested build, test and lint that all work on my machine and using gitlab-runner locally. Tried that the built files work with Kenoma.
@nastassia.danilova mind checking this out to see if it works for you or if you spot any mistakes? I got some kenoma gitlab CI runs to pass using this branch at least
This was added to make async tests work, if I recall correctly, jest used to come with some babel polyfills to do the same but not anymore, so we just import the relevant part here for the tests.
Seems like everything works fine for me. But I have a couple of questions
--watchAllflag intddscript to run all the tests during the development process before. Will the current '--watch' flag catch the errors in unchanged tests but which are connected with changed functions?lint-fixscript before commit git hook?I figured it'd be consistent with how the script updates pleroma-api on kenoma side, and afterwards I thought removing yarn requirement might be better if any other developers want to utilize the library.
we can change it back if we notice issues with it,
--watchjust seems to be the recommended way in documentation I saw. Currently our tests are fast enough that maybe--watchAllhas no downsides at allwe could do that too, although it won't get rid of all lint errors but it might help
changed
--watchto--watchAllagain, installedhuskyfor precommit hooks, and yeah it fails the commit if the --fix can't do its job so that's goodfine
Pull request closed