yohei0125 hace 4 años
padre
commit
5facf4a941
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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);
     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];
     const argsForCreateAndSendNotifications = mockedRenameDescendantsWithStream.mock.calls[0];
-    // restore the mock to the original function
+    // restores the original implementation
     mockedRenameDescendantsWithStream.mockRestore();
     mockedRenameDescendantsWithStream.mockRestore();
 
 
     // rename descendants
     // rename descendants