Browse Source

Updated test for gecko browsers.

Kuba Niegowski 5 years ago
parent
commit
96aa2e7d0a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/ckeditor5-widget/tests/widget-integration.js

+ 2 - 1
packages/ckeditor5-widget/tests/widget-integration.js

@@ -298,8 +298,9 @@ describe( 'Widget - integration', () => {
 		expect( getModelData( model ) ).to.equal( '<paragraph>Foo[<inline-widget>foo bar</inline-widget>]Bar</paragraph>' );
 	} );
 
-	it( 'should do nothing for non-Safari browser', () => {
+	it( 'should do nothing for non-Safari and non-Gecko browser', () => {
 		testUtils.sinon.stub( env, 'isSafari' ).get( () => false );
+		testUtils.sinon.stub( env, 'isGecko' ).get( () => false );
 
 		setModelData( model, '<paragraph>[]</paragraph><widget><nested>foo bar</nested></widget>' );