瀏覽代碼

fix test without growiCommandType

zahmis 5 年之前
父節點
當前提交
6f4ce75aaa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/slack/src/utils/slash-command-parser.test.ts

+ 1 - 1
packages/slack/src/utils/slash-command-parser.test.ts

@@ -12,7 +12,7 @@ describe('parse SlashCommand', () => {
   describe('without growiCommandType', () => {
     test('throws InvalidGrowiCommandError', () => {
       // setup
-      const slashCommandText = '/growi';
+      const slashCommandText = '';
       const slashCommand = new SlashCommandMock(slashCommandText);
 
       // when/then