فهرست منبع

fix test name

yohei0125 4 سال پیش
والد
کامیت
70bc48f560
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/app/test/integration/service/v5.page.test.ts

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

@@ -207,7 +207,7 @@ describe('Test page service methods', () => {
       expect(page3.parent).toStrictEqual(page2._id);
       expect(page3.parent).toStrictEqual(page2._id);
       expect(page4.parent).toStrictEqual(page3._id);
       expect(page4.parent).toStrictEqual(page3._id);
     });
     });
-    test('it should fail and throw error if PageOperation is not Found', async() => {
+    test('it should fail and throw error if PageOperation is not found', async() => {
       const pageOpId = new mongoose.Types.ObjectId(); // not exist in DB
       const pageOpId = new mongoose.Types.ObjectId(); // not exist in DB
       await expect(restartPageRenameOperation(pageOpId))
       await expect(restartPageRenameOperation(pageOpId))
         .rejects.toThrow(new Error('PageRenameOperation is not executable'));
         .rejects.toThrow(new Error('PageRenameOperation is not executable'));