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

+ 4 - 4
packages/app/test/integration/service/pagev5.test.ts

@@ -348,10 +348,6 @@ describe('PageService page operations with only public pages', () => {
       expect(grandchild.path).toBe('/v5_ParentForRename7/renamedChildForRename7/v5_GrandchildForRename7');
     });
   });
-  afterAll(async() => {
-    await Page.remove({});
-    await User.remove({});
-  });
 
   describe('Duplicate', () => {
     test('Should duplicate single page', async() => {
@@ -364,6 +360,10 @@ describe('PageService page operations with only public pages', () => {
       // a
     });
   });
+  afterAll(async() => {
+    await Page.remove({});
+    await User.remove({});
+  });
 });
 
 describe('PageService page operations with non-public pages', () => {