3 ms·
Thanks for answering. I would still personally prefer to see some unit tests checking each function behaves as expected, this is not so much to prove that the t
by beck5 14y ago
Thanks for answering. I would still personally prefer to see some unit tests checking each function behaves as expected, this is not so much to prove that the thing works now but make sure it can be changed safely over the next few years so I can pull down the latest version with confidence.
e.g. getBackendFromHostHeader inside worker.js does a lot of things, if I were the author I would have it wrapped up in unit tests.