Kaynağa Gözat

remove documents after all

yohei0125 4 yıl önce
ebeveyn
işleme
b84bfec713

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

@@ -344,6 +344,10 @@ describe('PageService page operations with only public pages', () => {
       expect(grandchild.path).toBe('/v5_ParentForRename7/renamedChildForRename7/v5_GrandchildForRename7');
       expect(grandchild.path).toBe('/v5_ParentForRename7/renamedChildForRename7/v5_GrandchildForRename7');
     });
     });
   });
   });
+  afterAll(async() => {
+    await Page.remove({});
+    await User.remove({});
+  });
 });
 });
 
 
 describe('PageService page operations with non-public pages', () => {
 describe('PageService page operations with non-public pages', () => {