botium-core
Version:
The Selenium for Chatbots
18 lines (14 loc) • 409 B
JavaScript
const pause = require('../PauseLogic').pause
module.exports = class PauseAsserter {
constructor (context, caps = {}) {
this.context = context
this.caps = caps
this.name = 'Pause Asserter'
}
assertConvoBegin ({ convo, args }) {
return pause('PauseAsserter', convo.sourceTag, args)
}
assertConvoEnd ({ convo, args }) {
return pause('PauseAsserter', convo.sourceTag, args)
}
}