We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a82612 commit 8cf918cCopy full SHA for 8cf918c
src/setup-open.ts
@@ -122,7 +122,6 @@ export function setupOpen(QuickSQLite: ISQLite) {
122
closeContextLock(dbName, id);
123
resolve(res)
124
} catch (ex) {
125
- closeContextLock(dbName, id);
126
reject(ex)
127
} finally {
128
hooks?.lockReleased?.()
tests/tests/sqlite/rawQueries.spec.ts
@@ -607,7 +607,8 @@ export function registerBaseTests() {
607
await db.execute('PRAGMA wal_checkpoint(RESTART)');
608
let end = performance.now();
609
let duration = end - start;
610
- console.log(`10000 INSERTs :: ${duration}ms`);
+
611
+ expect(duration).lessThan(2000);
612
});
613
614
}
0 commit comments