yohei0125 4 лет назад
Родитель
Сommit
5facf4a941
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/test/integration/service/pagev5.test.ts

+ 2 - 2
packages/app/test/integration/service/pagev5.test.ts

@@ -130,9 +130,9 @@ describe('PageService page operations with only public pages', () => {
 
     const renamedPage = await crowi.pageService.renamePage(page, newPagePath, user, options);
 
-    // retrieve arugemtns which method:'renameDescendantsWithStream' was called with
+    // retrieve the arguments passed when calling method renameDescendantsWithStream inside renamePage method
     const argsForCreateAndSendNotifications = mockedRenameDescendantsWithStream.mock.calls[0];
-    // restore the mock to the original function
+    // restores the original implementation
     mockedRenameDescendantsWithStream.mockRestore();
 
     // rename descendants