Explorar o código

remove documents after all

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