(id: string | null = null)
| 20 | } from '../../../lib'; |
| 21 | |
| 22 | function createRenderTarget(id: string | null = null) { |
| 23 | let element = document.createElement('div'); |
| 24 | element.className = 'cycletest'; |
| 25 | if (id) { |
| 26 | element.id = id; |
| 27 | } |
| 28 | document.body.appendChild(element); |
| 29 | return element; |
| 30 | } |
| 31 | |
| 32 | describe('isolateSource', function () { |
| 33 | it('should have the same effect as DOM.select()', function (done) { |