7abfb396876addad4ce24bfddcdd113be6ea70d7
1 /* eslint-disable class-methods-use-this */
7 this._implementation
.forEach((fn
) => {
9 this[fn
] = async () => undefined; // eslint-disable-line security/detect-object-injection
14 get _implementation() {
36 this._spyFns
.forEach((fn
) => {
37 this._sinon
.spy(this, fn
);
39 this._stubFns
.forEach((fn
) => {
40 this._sinon
.stub(this, fn
);
48 async
transaction(dbCtx
, fn
) {
54 module
.exports
= StubDatabase
;