fix(core): update
This commit is contained in:
@ -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';
|
||||
|
Reference in New Issue
Block a user