(...args)
| 84 | expect(existsSync(util.next())).to.be.false; |
| 85 | const calls = []; |
| 86 | const promise = this.db.backup(util.current(), { progress(...args) { |
| 87 | calls.push([this, ...args]); |
| 88 | } }); |
| 89 | expect(existsSync(util.current())).to.be.false; |
| 90 | await fulfillsWith({ totalPages: 2, remainingPages: 0 }, promise); |
| 91 | expect(existsSync(this.db.name)).to.be.true; |
nothing calls this directly
no outgoing calls
no test coverage detected