beforeExit(function() { assert.isNotNull(response); assert.equal(200, response.status); });
test[assertion] = function (err, res, body) { assert.isNull(err); assert.isNotNull(res.headers[headerName]); };
"an error should be returned": function(err, result) { assert.isNotNull(err); assert.equal("Validation of the authentication token in API request failed.", err); }
'filter printer should be set': function (chart) { assert.isNotNull(chart.filterPrinter()); },
'should error' : function(err, req) { assert.isNotNull(err); },
'results in information about message' : function(err, result) { assert.isNull(err); assert.isNotNull(result.MessageId); }
'there must be no error': function (err, user) { assert.isNotNull (err); assert.equal(err, 'There is already a user with that jid'); },
'successfully': function(err, response) { assert.isNull(err); assert.isNotNull(response); assert.equal(response.id, 103135); assert.equal(response.name, 'Ashley Doe'); }
.expect('returns contacts', function(err, res, body) { assert.isNull(err); var contacts = JSON.parse(body); assert.isNotNull(contacts); assert.equal(contacts.length, 5); })
'successfully': function(err, response) { assert.isNull(err); assert.isNotNull(response); assert.equal(response.length, 5); assert.equal(response[0].id, 103135); }
'successfully': function(err, response) { assert.isNull(err); assert.isNotNull(response); assert.equal(response.length, 4); assert.equal(response[0].id, "100002438955325_224550747571079"); }
"errors": function(err, payload) { assert.isNotNull(err); },
Works.one().then(function (work) { assert.isNotNull(work); assert.isNull(work.employee); next(); }, next);
beforeExit(function() { assert.isNotNull(response); assert.equal(200, response.status); assert.ok(splat, "Should have set 'splat'"); assert.equal(splat[0], 'world'); });
'brush should be created': function (chart) { assert.isNotNull(chart.select("g.brush")); },
.expect('returns newsfeed', function(err, res, body) { assert.isNull(err); var newsfeed = JSON.parse(body); assert.isNotNull(newsfeed); assert.equal(newsfeed.length, 3); })
'round can be changed': function (chart) { chart.round(d3.time.day.round); assert.isNotNull(chart.round()); },
.expect('returns wall', function(err, res, body) { assert.isNull(err); var wall = JSON.parse(body); assert.isNotNull(wall); assert.equal(wall.length, 4); })
'should generate something': function(chart) { assert.isNotNull(chart); },
.expect("returns the user's profile", function(err, res, body) { assert.isNull(err); var profile = JSON.parse(body); assert.isNotNull(profile); assert.equal(profile.id, '100002438955325'); })
"should return a valid drone result object": function (err, result) { assert.isNull(err); assert.isNotNull(result.drone); result.process.kill(); }
'y value should have default impl': function (chart) { assert.isNotNull(chart.valueAccessor()); }
'we get something': function (pieChart) { assert.isNotNull(pieChart); },
"Can serialize the Bindings object": function(bindings) { var serialized = bindings.serialize(); assert.isNotNull(serialized); assert.typeOf(serialized, 'string'); },
"should log with the appropriate timestamp": function (_, filename) { var data = fs.readFileSync(filename, 'utf8'); assert.isNotNull(data.match(options.pattern)); }
'margin should be set': function (chart) { assert.isNotNull(chart.margins()); },
'verify an error is returned': function(err) { assert.isNotNull(err); }
'y axis should be created': function (chart) { assert.isNotNull(chart.yAxis()); },
"an error should be returned": function(err, result) { assert.isNotNull(err); }
'THEN the model should not validate': function ( err, gloms ) { assert.isNotNull( err ); }