UNPKG

botium-core

Version:
28 lines (25 loc) 562 B
const _ = require('lodash') class BotiumMockAsserter { constructor (fromJson = {}) { this.name = fromJson.name this.args = _.cloneDeep(fromJson.args) this.not = fromJson.not } } class BotiumMockUserInput { constructor (fromJson = {}) { this.name = fromJson.name this.args = _.cloneDeep(fromJson.args) } } class BotiumMockLogicHook { constructor (fromJson = {}) { this.name = fromJson.name this.args = _.cloneDeep(fromJson.args) } } module.exports = { BotiumMockAsserter, BotiumMockUserInput, BotiumMockLogicHook }