Remove Node.js v8 support (#1402)

This commit is contained in:
Tomas Della Vedova
2021-02-19 08:27:20 +01:00
committed by delvedor
parent ae3bb7031f
commit 28370acf49
43 changed files with 246 additions and 290 deletions

View File

@ -65,7 +65,7 @@ test('search helper', async t => {
}
})
var count = 0
let count = 0
for await (const search of scrollSearch) {
count += 1
for (const doc of search.documents) {
@ -87,7 +87,7 @@ test('clear a scroll search', async t => {
}
})
var count = 0
let count = 0
for await (const search of scrollSearch) {
count += 1
if (count === 2) {
@ -109,7 +109,7 @@ test('scroll documents', async t => {
}
})
var count = 0
let count = 0
for await (const doc of scrollSearch) {
count += 1
t.true(doc.title.toLowerCase().includes('javascript'))