mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 04:29:16 +00:00
test pass ok
This commit is contained in:
@@ -5,6 +5,8 @@ const { createBot, CoreClass } = require('../index')
|
|||||||
|
|
||||||
class MockFlow {
|
class MockFlow {
|
||||||
find = () => {}
|
find = () => {}
|
||||||
|
findBySerialize = () => {}
|
||||||
|
findIndexByRef = () => {}
|
||||||
}
|
}
|
||||||
|
|
||||||
class MockDB {
|
class MockDB {
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ test('Debere probar toSerialize', () => {
|
|||||||
generateRefSerialize({
|
generateRefSerialize({
|
||||||
index: 0,
|
index: 0,
|
||||||
answer: ANSWER_A.answer,
|
answer: ANSWER_A.answer,
|
||||||
|
keyword: ANSWER_A.keyword,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user