9 lines
195 B
JavaScript
9 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
|