(element, state)
| 70 | } |
| 71 | |
| 72 | function setElementResourceState(element, state) { |
| 73 | const resource = resources.getResourceForElementOptional(element); |
| 74 | if (resource) { |
| 75 | resource.state_ = state; |
| 76 | } |
| 77 | return resource; |
| 78 | } |
| 79 | |
| 80 | describe('schedulePause', () => { |
| 81 | it('should not throw with a single element', () => { |
no test coverage detected