yohei0125 4 лет назад
Родитель
Сommit
e568f84130
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      packages/app/test/integration/service/v5.migration.test.js

+ 2 - 1
packages/app/test/integration/service/v5.migration.test.js

@@ -261,8 +261,9 @@ describe('V5 page migration', () => {
       const page8 = await Page.findOne({ path: '/normalize_7/normalize_8_gA' });
       const page9 = await Page.findOne({ path: '/normalize_7/normalize_8_gA/normalize_9_gB' });
       const page10 = await Page.findOne({ path: '/normalize_7/normalize_8_gC' });
+      const page11 = await Page.findOne({ path: '/normalize_7' });
       expectAllToBeTruthy([page8, page9, page10]);
-
+      expect(page11).toBeNull();
       await normalizeParentRecursivelyByPages([page8, page9, page10], testUser1);
 
       const page7 = await Page.findOne({ path: '/normalize_7' });