Jelajahi Sumber

fic comment

yohei0125 4 tahun lalu
induk
melakukan
5facf4a941
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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