Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
fix: update AxeBuilder#analyze() usage (#93)
Browse files Browse the repository at this point in the history
Closes #92
  • Loading branch information
stephenmathieson authored Nov 26, 2018
1 parent eee46c9 commit f2ead15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/sauce/sauce.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ describe('sauce-example', function() {
});

it('should find violations', function(done) {
AxeBuilder(driver).analyze(function(results) {
AxeBuilder(driver).analyze(function(err, results) {
if (err) {
return done(err);
}
assert.equal(results.url, url);
done();
});
Expand Down

0 comments on commit f2ead15

Please sign in to comment.