mcard-js
Version:
A JavaScript implementation of MCard - A data model for persistently storing content with cryptographic hashing and timestamping
20 lines (19 loc) • 461 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
// Mock for better-sqlite3
const mockSqlite = jest.fn(() => ({
prepare: jest.fn().mockReturnValue({
run: jest.fn(),
get: jest.fn(),
all: jest.fn(() => []),
finalize: jest.fn()
}),
exec: jest.fn(),
close: jest.fn(),
transaction: fn => fn
}));
var _default = exports.default = mockSqlite;
//# sourceMappingURL=better-sqlite3.js.map