ソースを参照

Add missing destroy() calls in multiple call to destroy() test.

Maciej Gołaszewski 6 年 前
コミット
5a6d3a268e
1 ファイル変更2 行追加0 行削除
  1. 2 0
      packages/ckeditor5-ui/tests/view.js

+ 2 - 0
packages/ckeditor5-ui/tests/view.js

@@ -325,6 +325,8 @@ describe( 'View', () => {
 		it( 'can be called multiple times', () => {
 			expect( () => {
 				view.destroy();
+				view.destroy();
+				view.destroy();
 			} ).to.not.throw();
 		} );