| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | import { Material } from '../../src/controls/color/js/material.js'; |
||
| 5 | describe( 'palette control', function() { |
||
| 6 | it( 'returns element', function() { |
||
| 7 | |||
| 8 | // Instantiate the css loader. |
||
| 9 | this.styleUpdater = new StyleUpdater( document ); |
||
| 10 | this.styleUpdater.setup(); |
||
| 11 | |||
| 12 | let $tab = $( '.colors-tab' ), |
||
| 13 | colorPalette = new ColorPalette(), |
||
| 14 | $control = colorPalette.render( $tab.find( '.control' ) ); |
||
| 15 | |||
| 16 | expect( $control.length ).toEqual( 1 ); |
||
| 17 | } ); |
||
| 18 | } ); |
||
| 19 |