zahmis 5 лет назад
Родитель
Сommit
394ec308a8
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/slack/src/utils/slash-command-parser.test.ts

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

@@ -38,7 +38,7 @@ describe('parse SlashCommand', () => {
 
 
   test('returns a GrowiCommand instance with space growiCommandType', () => {
   test('returns a GrowiCommand instance with space growiCommandType', () => {
     // setup
     // setup
-    const slashCommandText = 'search         ';
+    const slashCommandText = '   search   ';
     const slashCommand = new SlashCommandMock(slashCommandText);
     const slashCommand = new SlashCommandMock(slashCommandText);
 
 
     // when
     // when
@@ -52,7 +52,7 @@ describe('parse SlashCommand', () => {
 
 
   test('returns a GrowiCommand instance with space growiCommandArgs', () => {
   test('returns a GrowiCommand instance with space growiCommandArgs', () => {
     // setup
     // setup
-    const slashCommandText = 'search hoge       ';
+    const slashCommandText = '   search hoge   ';
     const slashCommand = new SlashCommandMock(slashCommandText);
     const slashCommand = new SlashCommandMock(slashCommandText);
 
 
     // when
     // when