diff options
Diffstat (limited to 'spec/frontend/pdf/page_spec.js')
-rw-r--r-- | spec/frontend/pdf/page_spec.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/frontend/pdf/page_spec.js b/spec/frontend/pdf/page_spec.js index 4cf83a3252d..1d5c5cd98c4 100644 --- a/spec/frontend/pdf/page_spec.js +++ b/spec/frontend/pdf/page_spec.js @@ -9,10 +9,6 @@ jest.mock('pdfjs-dist/webpack', () => { describe('Page component', () => { let wrapper; - afterEach(() => { - wrapper.destroy(); - }); - it('renders the page when mounting', async () => { const testPage = { render: jest.fn().mockReturnValue({ promise: Promise.resolve() }), |