Explorar o código

fix test without growiCommandType

zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
6f4ce75aaa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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