Thanks for your help, however I’m still struggling to fail the tests.
If I use done() like here:
it('should fail on async method wrong assertion', function () {
HTTP.get('http://google.com', (error, result) => {
expect(error).to.not.exist;
expect(1).to.equal(2);
done()
});
});
I end up with this in the console
(STDERR) MochaRunner.runServerTests: failures: 0
Exception in callback of async function: AssertionError: expected 1 to equal 2
So far no luck to test results from async call. Am I the only one in the entire Meteor community with this problem?