Closed juananpe closed 6 years ago
Doing the change in testmybot.js is not a good idea, as the code in there has to be independent of the used test runner. Using Jasmine "fail" inside there will make it incompatible with other test runners.
I agree. I'll try another approach so that I can test my Facebook Messenger chatbots with Jasmine or any other test runner. As it is today, testmybot + jasmine always marks all tests as "success", no matter what, without failures.
Beware, I have tested it only with FBDirect sample, but should work for any other CONTAINERMODE.