1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00
budibase/packages/server/build/pouchdb.js
Martin McKeaveney b7a230065b more branch cov
2021-03-16 19:27:18 +00:00

10 lines
195 B
JavaScript

function CouchDB() {
this.post = jest.fn()
this.allDocs = jest.fn(() => ({ rows: [] }))
this.put = jest.fn()
this.remove = jest.fn()
this.plugin = jest.fn()
}
module.exports = CouchDB