Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WiseLibs/better-sqlite3
/ whileClosed
Function
whileClosed
test/42.integrity.js:36–39 ·
view source on GitHub ↗
(self, fn)
Source
from the content-addressed store, hash-verified
34
expect(count).to.equal(5);
35
};
36
const
whileClosed = (self, fn) => {
37
self.db.close();
38
fn();
39
};
40
41
describe(
'Database#prepare()'
,
function
() {
42
specify(
'while iterating (allowed)'
,
function
() {
Callers
1
42.integrity.js
File · 0.85
Calls
1
fn
Function · 0.70
Tested by
no test coverage detected