yohei0125 4 سال پیش
والد
کامیت
be0a1bbf40
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      packages/app/test/integration/models/v5.page.test.js

+ 1 - 0
packages/app/test/integration/models/v5.page.test.js

@@ -259,6 +259,7 @@ describe('Page', () => {
 
         expect(page1AF.parent).toBeNull();
         expect(page2AF.parent).toStrictEqual(newlyCreatedPage._id);
+        expect(newlyCreatedPage.parent).toStrictEqual(rootPage._id);
 
       });
       test('of a leaf page will NOT have empty page with the same path', async() => {});