Browse Source

forgotten commit

yohei0125 4 years ago
parent
commit
913b3e37d3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/app/test/integration/service/v5.page.test.ts

+ 2 - 1
packages/app/test/integration/service/v5.page.test.ts

@@ -302,7 +302,8 @@ describe('Test page service methods', () => {
       // page operation
       const _pageOperation = await PageOperation.findOne({ 'page._id': _page1._id, actionType: PageActionType.Rename });
 
-      // make `unprocessableExpiryDate` 15 seconds ahead of current time to make sure `unprocessableExpiryDate` is future
+      // Make `unprocessableExpiryDate` 15 seconds ahead of current time.
+      // The number 15 seconds has no meaning other than placing time in the furue.
       await PageOperation.findByIdAndUpdate(_pageOperation._id, { unprocessableExpiryDate: addSeconds(new Date(), 15) });
 
       expect(_page0).toBeTruthy();