and test first until - you pick one for happy and not happy paths. use `jest` as test runner example template with unit tests https://github.com/asyncapi/html-template/blob/master/test/helpers/all.test.js