This template generates MQTT Python client module. Its purpose is to abstract for the application client technical information about the broker and the names of topics it should use. Instead, it generates a module that provides a set of indent-driven functions that one can invoke to send a message to the application through the message broker.
and test first until - you pick one
for happy and not happy paths.
use
jest
as test runnerexample template with unit tests https://github.com/asyncapi/html-template/blob/master/test/helpers/all.test.js