Browse Source

fix test without growiCommandType

zahmis 5 years ago
parent
commit
6f4ce75aaa
1 changed files with 1 additions and 1 deletions
  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', () => {
   describe('without growiCommandType', () => {
     test('throws InvalidGrowiCommandError', () => {
     test('throws InvalidGrowiCommandError', () => {
       // setup
       // setup
-      const slashCommandText = '/growi';
+      const slashCommandText = '';
       const slashCommand = new SlashCommandMock(slashCommandText);
       const slashCommand = new SlashCommandMock(slashCommandText);
 
 
       // when/then
       // when/then