https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40173 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #5 from David Cook <dcook@prosentient.com.au> --- (In reply to Jonathan Druart from comment #4)
No proper test plan here, it affects the low-level http-client so it's hard to make sure it will not introduce bugs.
I've been thinking about that for a little while now, and I think that we should start making Javascript unit tests. It likes "jest" is already included in "node_modules" for other dependencies. We might need to add "jest-fetch-mock" or "nock" but it would be a good way to test Javascript changes. I think it would encourage us to write Javascript in more re-usable ways as well. Anyway, food for thought. -- You are receiving this mail because: You are watching all bug changes.