-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
In the documentation under "Usage" where is done and assert coming from?
var phantom = require('x-ray-phantom');
var Xray = require('x-ray');
var x = Xray()
.driver(phantom());
x('http://google.com', 'title')(function(err, str) {
if (err) return done(err); // <----------- where is this defined?
assert.equal('Google', str); // <----------- where is this defined?
done(); // <----------- where is this defined?
})I assume they are coming from a user defined assertion library, but I feel like that should be made more clear.
Metadata
Metadata
Assignees
Labels
No labels