Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Tests: fixed a leak detector error.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredck committed May 2, 2020
1 parent 9828ae0 commit c155acc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ describe( 'Markdown', () => {
} )
.then( editor => {
expect( editor.data.processor ).to.be.an.instanceof( GFMDataProcessor );

editor.destroy(); // Tests cleanup.
} );
} );
} );

0 comments on commit c155acc

Please sign in to comment.