( testType )
| 147 | var dom = $( "#labels-fragment" ); |
| 148 | |
| 149 | function testLabels( testType ) { |
| 150 | var labels = dom.find( "#test" ).labels(); |
| 151 | var found = labels.map( function() { |
| 152 | return String.prototype.trim.call( $( this ).text() ); |
| 153 | } ).get(); |
| 154 | |
| 155 | assert.deepEqual( found, expected, |
| 156 | ".labels() finds all labels in " + testType + ", and sorts them in DOM order" ); |
| 157 | } |
| 158 | |
| 159 | testLabels( "the DOM" ); |
| 160 |
no outgoing calls
no test coverage detected
searching dependent graphs…