Skip to content

Commit 9ac3b5a

Browse files
committed
more whitespace and semis
1 parent 2a78c9f commit 9ac3b5a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/23.statement.iterate.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ describe('Statement#iterate()', function () {
247247
).to.throw(TypeError);
248248
});
249249
it("should read and write non-trivial numbers of rows", function () {
250-
const insertRuntime = 1000
250+
const insertRuntime = 1000;
251251
this.timeout(insertRuntime * 2.5);
252-
const runUntil = Date.now() + insertRuntime
252+
const runUntil = Date.now() + insertRuntime;
253253
let i = 0;
254-
const r = .141592654
254+
const r = .141592654;
255255
this.db.prepare('CREATE TABLE t (id INTEGER, b TEXT, c REAL)').run();
256256
const stmt = this.db.prepare("INSERT INTO t VALUES (?, ?, ?)");
257257
while (Date.now() < runUntil) {
@@ -268,13 +268,13 @@ describe('Statement#iterate()', function () {
268268
expect(i).to.be.gte(1000); // < expect ~50K and 200K on reasonable machines
269269
const stmt1 = this.db.prepare("SELECT * FROM t ORDER BY id DESC");
270270
for (const data of stmt1.iterate()) {
271-
i--
271+
i--;
272272
expect(data).to.deep.equal({
273273
id: i,
274274
b: String(i),
275275
c: i + r
276-
})
276+
});
277277
}
278-
expect(i).to.equal(0)
278+
expect(i).to.equal(0);
279279
});
280280
});

0 commit comments

Comments
 (0)