You forgot the done
parameter to your it
function.
var assert=require('assert');
var Browser = require("zombie");
var browser = new Browser();
describe('Home page', function () {
describe ('title', function () {
it ('should have a title', function (done) {
browser.visit ("http://no-such-site.com/").
then(function (){
assert.equal(browser.text("title"), "Whatever goes here");
done();
}).
fail(function(err) {
console.log("Failed with error: ", error);
done(err);
});
});
});
});