33a82cc8e8
Exposes the spellcheck provider as window.spellChecker, which allows it to be called from tests.
10 lines
229 B
JavaScript
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'));
|
|
});
|
|
});
|