session-desktop/test/spellcheck_test.js
lilia 33a82cc8e8
Add spellcheck smoke test
Exposes the spellcheck provider as window.spellChecker, which allows it to be
called from tests.
2017-09-14 16:53:48 -07:00

10 lines
229 B
JavaScript

/*
* vim: ts=4:sw=4:expandtab
*/
describe('spellChecker', function() {
it('should work', function() {
assert(window.spellChecker.spellCheck('correct'));
assert(!window.spellChecker.spellCheck('fhqwgads'));
});
});