Răsfoiți Sursa

remove documents after all

yohei0125 4 ani în urmă
părinte
comite
b84bfec713
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      packages/app/test/integration/service/pagev5.test.ts

+ 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');
     });
   });
+  afterAll(async() => {
+    await Page.remove({});
+    await User.remove({});
+  });
 });
 
 describe('PageService page operations with non-public pages', () => {