File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ describe('Errors', () => {
2323 error ( )
2424 } catch ( err ) {
2525 const message = err . message
26- . split ( '\n' )
27- . slice ( 1 )
28- . join ( '\n' )
26+ . split ( '\n\n ' )
27+ . slice ( 1 , - 1 )
28+ . join ( '\n\n ' )
2929
3030 expect ( message ) . toMatchSnapshot ( )
3131 }
Original file line number Diff line number Diff line change @@ -11,11 +11,4 @@ exports[`Errors Syntax Error 1`] = `
1111"
1212`;
1313
14- exports [` Errors Validation Error 1` ] = `
15- "ValidationError: PostCSS Loader Invalid Options
16-
17- options.sourceMap should be { String | Boolean } (https://github.com/postcss/postcss-loader#sourcemap)
18-
19- at validateOptions (/Users/Cini/Github/webpack/loaders/postcss/node_modules/@webpack-utilities/schema/src/validateOptions.js:25:11)
20- at Object.loader (/Users/Cini/Github/webpack/loaders/postcss/src/index.js:44:3)"
21- ` ;
14+ exports [` Errors Validation Error 1` ] = ` "options.sourceMap should be { String | Boolean } (https://github.com/postcss/postcss-loader#sourcemap)"` ;
You can’t perform that action at this time.
0 commit comments