(s: MagicString)
| 7 | // The flattened result is a plain MagicString, so borrow the integrity checker's |
| 8 | // walk to assert the rebuilt chunk list stays consistent. |
| 9 | function assertIntegrity(s: MagicString): void { |
| 10 | const flat = s as unknown as IntegrityCheckingMagicString |
| 11 | Object.setPrototypeOf(flat, IntegrityCheckingMagicString.prototype) |
| 12 | flat.checkIntegrity() |
| 13 | } |
| 14 | |
| 15 | describe('bundle', () => { |
| 16 | describe('toMagicString', () => { |
no test coverage detected