()
| 41 | } |
| 42 | |
| 43 | function createDefaultComponent() { |
| 44 | const c = new Component(); |
| 45 | c.setKey(createKey('key')); |
| 46 | c.setStyle(createStyle('red', '1')); |
| 47 | c.setStyleDebugJson('debug json string'); |
| 48 | c.setType(createType('test')); |
| 49 | c.setSourceCodeLocation(createSourceCodeLocation('x')); |
| 50 | return c; |
| 51 | } |
| 52 | |
| 53 | describe('applyComponentDiff functionality', () => { |
| 54 | it('applies no diffs when there are no diffs', () => { |
no test coverage detected