Use Electron Spellchecker
This commit is contained in:
parent
42152be4af
commit
4a8f5db0a4
15 changed files with 195 additions and 381 deletions
|
@ -407,7 +407,6 @@
|
|||
<script type="text/javascript" src="crypto_test.js"></script>
|
||||
<script type="text/javascript" src="database_test.js"></script>
|
||||
<script type="text/javascript" src="i18n_test.js"></script>
|
||||
<script type="text/javascript" src="spellcheck_test.js"></script>
|
||||
|
||||
<!-- Comment out to turn off code coverage. Useful for getting real callstacks. -->
|
||||
<!-- NOTE: blanket doesn't support modern syntax and will choke until we find a replacement. :0( -->
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
describe('spellChecker', () => {
|
||||
it('should work', () => {
|
||||
let result = null;
|
||||
|
||||
window.spellChecker.spellCheck(['correct'], answer => {
|
||||
result = answer;
|
||||
});
|
||||
assert.deepEqual(result, []);
|
||||
|
||||
window.spellChecker.spellCheck(['fhqwgads'], answer => {
|
||||
result = answer;
|
||||
});
|
||||
assert.deepEqual(result, ['fhqwgads']);
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue