Explorar o código

change to strict equal

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
0341b304b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();