MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / MyDatabase

Class MyDatabase

test/10.database.open.js:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 });
170 it('should work properly when subclassed', function () {
171 class MyDatabase extends Database {
172 foo() {
173 return 999;
174 }
175 }
176 const db = this.db = new MyDatabase(util.next());
177 expect(db).to.be.an.instanceof(Database);
178 expect(db).to.be.an.instanceof(MyDatabase);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected