yohei0125 4 лет назад
Родитель
Сommit
0341b304b6
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

@@ -1028,7 +1028,7 @@ describe('PageService page operations with only public pages', () => {
 
       expectAllToBeTruthy([renamedPage, renamedPageChild, newlyCreatedEmptyPage1, newlyCreatedEmptyPage2]);
 
-      expect(newlyCreatedEmptyPage1.parent).toBe(rootPage._id);
+      expect(newlyCreatedEmptyPage1.parent).toStrictEqual(rootPage._id);
 
       expect(newlyCreatedEmptyPage1.isEmpty).toBeTruthy();
       expect(newlyCreatedEmptyPage2.isEmpty).toBeTruthy();