File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2104,10 +2104,6 @@ test(
21042104 } ,
21052105)
21062106
2107- function withBOM ( text : string ) : string {
2108- return '\uFEFF' + text
2109- }
2110-
21112107test (
21122108 'CSS parse errors should include filename and line number' ,
21132109 {
@@ -2120,8 +2116,7 @@ test(
21202116 }
21212117 }
21222118 ` ,
2123- 'broken.css' : css `
2124- /* Test file to reproduce the CSS parsing error */
2119+ 'input.css' : css `
21252120 .test {
21262121 color: red;
21272122 */
@@ -2130,8 +2125,12 @@ test(
21302125 } ,
21312126 } ,
21322127 async ( { exec, expect } ) => {
2133- await expect ( exec ( 'pnpm tailwindcss --input broken .css --output dist/out.css' ) ) . rejects . toThrow (
2134- / I n v a l i d d e c l a r a t i o n . * a t . * b r o k e n \. c s s : 4 : / ,
2128+ await expect ( exec ( 'pnpm tailwindcss --input input .css --output dist/out.css' ) ) . rejects . toThrow (
2129+ / C s s S y n t a x E r r o r : . * i n p u t . c s s : 3 : 2 : I n v a l i d d e c l a r a t i o n : ` \* \/ ` / ,
21352130 )
21362131 } ,
21372132)
2133+
2134+ function withBOM ( text : string ) : string {
2135+ return '\uFEFF' + text
2136+ }
You can’t perform that action at this time.
0 commit comments