|
|
@@ -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', () => {
|