jasmine-loud
v1.0.3
Published
Jasmine matchers for Loud, web accessibility testing helper
Downloads
16
Maintainers
Readme
jasmine-loud
Jasmine matchers for Loud, web accessibility testing helper
Getting Started
Get a release tarball, or clone the repository, or use npm, or bower:
bower install jasmine-loud --save-dev
Add ./lib/jasmine-loud.js
to a testing page:
<script src="/path/to/jasmine-loud/lib/jasmine-loud.js"></script>
Jasmine Matchers
toBeSaid()
describe('jasmine-loud', function() {
beforeEach(function() {
this.button = document.createElement('button');
this.button.innerHTML = 'Join';
document.body.appendChild(this.button);
});
afterEach(function() {
document.body.removeChild(this.button);
});
it('works', function() {
expect(this.button).toBeSaid(['Join', 'button']);
});
});