fix(core): update

This commit is contained in:
2020-01-23 15:24:46 +00:00
parent 917e630554
commit b2478d79f2
2 changed files with 7 additions and 6 deletions

View File

@ -11,7 +11,7 @@ let testSmartruleInstance: smartrule.SmartRule<ITestMessage>;
tap.test('first test', async () => {
testSmartruleInstance = new smartrule.SmartRule<ITestMessage>();
testSmartruleInstance.createRule(
0,
2,
async messageArg => {
if (messageArg.body.startsWith('hello')) {
return 'apply-stop';