()
| 284 | } |
| 285 | |
| 286 | function restoreElementAttributes() { |
| 287 | if (originalAttributesPropDescriptor) { |
| 288 | // Workaround bug in Sinon where getter/setter spies don't get auto-restored |
| 289 | Object.defineProperty( |
| 290 | Element.prototype, |
| 291 | 'attributes', |
| 292 | originalAttributesPropDescriptor |
| 293 | ); |
| 294 | attributesSpy = null; |
| 295 | } |
| 296 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…