mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Support Node.js 0.10–6 (#132)
* Update dependencies * Switch from jsdom to cheerio * Update the supported Node.js versions * Recompile the client-side CSS and JS
This commit is contained in:

committed by
Andrew Mee

parent
6bfb4f72d9
commit
ae6208d87e
@@ -36,9 +36,9 @@ describe('GET /<task-id>/run', function() {
|
||||
});
|
||||
|
||||
it('should display a success message', function() {
|
||||
var alert = this.last.dom.querySelectorAll('[data-test=alert]')[0];
|
||||
var alert = this.last.dom('[data-test=alert]').eq(0);
|
||||
assert.isDefined(alert);
|
||||
assert.match(alert.textContent, /new results are being generated/i);
|
||||
assert.match(alert.text(), /new results are being generated/i);
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user