mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Use unique words for spelling unit test (#17195)
GitOrigin-RevId: 21dc22192ee462d222982a92612aa8a0b858aba1
This commit is contained in:
@@ -108,7 +108,7 @@ describe('ASpell', function () {
|
|||||||
|
|
||||||
return describe('when the request times out', function () {
|
return describe('when the request times out', function () {
|
||||||
beforeEach(function (done) {
|
beforeEach(function (done) {
|
||||||
const words = __range__(0, 1000, true).map(i => 'abcdefg')
|
const words = __range__(0, 1000, true).map(i => 'abcdefg' + i)
|
||||||
this.ASpell.setTimeout(1)
|
this.ASpell.setTimeout(1)
|
||||||
this.start = Date.now()
|
this.start = Date.now()
|
||||||
return this.ASpell.checkWords('en', words, (error, result) => {
|
return this.ASpell.checkWords('en', words, (error, result) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user