mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 12:09:15 +00:00
adapter provider
This commit is contained in:
11
packages/database/adapters/mock.js
Normal file
11
packages/database/adapters/mock.js
Normal file
@@ -0,0 +1,11 @@
|
||||
class MockDatabase {
|
||||
listHistory = []
|
||||
|
||||
constructor() {}
|
||||
|
||||
save = (ctx) => {
|
||||
this.listHistory.push(ctx)
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = MockDatabase
|
||||
Reference in New Issue
Block a user