We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2ca74 commit b7f6f71Copy full SHA for b7f6f71
tests/recordRequests.js
@@ -4,6 +4,9 @@ const crypto = require(`node:crypto`);
4
const SQLite3 = require(`better-sqlite3`);
5
6
const db = new SQLite3(path.join(__dirname, `nocks.db`));
7
+process.once(`exit`, () => {
8
+ db.close();
9
+});
10
11
db.exec(`CREATE TABLE IF NOT EXISTS nocks (
12
hash BLOB PRIMARY KEY NOT NULL,
0 commit comments