From 5e87f3ce476f8273849407d097fcaa6a16dd2a3c Mon Sep 17 00:00:00 2001 From: fredck Date: Tue, 25 Feb 2020 12:55:19 +0100 Subject: [PATCH] Tests: fixed a leak detector error. --- tests/markdown.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/markdown.js b/tests/markdown.js index c448efa..712068a 100644 --- a/tests/markdown.js +++ b/tests/markdown.js @@ -19,6 +19,8 @@ describe( 'Markdown', () => { } ) .then( editor => { expect( editor.data.processor ).to.be.an.instanceof( GFMDataProcessor ); + + editor.destroy(); // Tests cleanup. } ); } ); } );