Explorar o código

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

Maciej Gołaszewski %!s(int64=7) %!d(string=hai) anos
pai
achega
5a6d3a268e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();
 		} );