import { transform as transformCode } from '../test-utils'; describe('error handling', () => { const transform = (code: string) => transformCode(code, { // Turn off code highlighting so snapshots are human readable. highlightCode: false, }); it('should throw when using using an invalid css node', () => { expect(() => { transform(` import '@compiled/react';