diff --git a/packages/astro/test/units/compile/invalid-css.test.js b/packages/astro/test/units/compile/invalid-css.test.js index 89081b54dd57..72309c445c90 100644 --- a/packages/astro/test/units/compile/invalid-css.test.js +++ b/packages/astro/test/units/compile/invalid-css.test.js @@ -22,6 +22,11 @@ describe('astro/src/core/compile', () => { color: purple; } + `, transformStyle(source, lang) { throw new Error('Invalid css');