File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -404,28 +404,6 @@ describe('Widget', () => {
404
404
editor = ace . edit ( editorDiv ) ;
405
405
} ) ;
406
406
407
- it ( 'should have a checkbox that switches tab setting' , ( ) => {
408
- const nonTabbedEditorDiv : HTMLElement = getElemById ( root . id + '.editors.non-tabbed-editor' ) ;
409
- const box = getElemById ( root . id + '.settings-bar.tab-setting' ) as
410
- HTMLInputElement ;
411
-
412
- const origIsTabbedView : boolean = ! editorDiv . hidden ;
413
- expect ( nonTabbedEditorDiv . hidden ) . to . equal ( origIsTabbedView ) ;
414
-
415
- box . checked = ! box . checked ;
416
- triggerEvent ( box , 'change' ) ;
417
- expect ( editorDiv . hidden ) . to . equal ( origIsTabbedView ) ;
418
- expect ( nonTabbedEditorDiv . hidden ) . to . not . equal ( origIsTabbedView ) ;
419
-
420
- // Test hiding / showing buttons for tabbed view
421
- const tabs = getElemById ( root . id + '.tab' ) ;
422
- const headers = getElemsByTag ( tabs , 'button' ) ;
423
-
424
- for ( const h of headers ) {
425
- expect ( h . hidden ) . to . equal ( origIsTabbedView ) ;
426
- }
427
- } ) ;
428
-
429
407
it ( 'should have a button that resets the editor' , ( ) => {
430
408
const btn = getElemById ( root . id + '.settings-bar.reset-btn' ) as
431
409
HTMLButtonElement ;
You can’t perform that action at this time.
0 commit comments