Răsfoiți Sursa

fix test without growiCommandType

zahmis 5 ani în urmă
părinte
comite
6f4ce75aaa
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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