@@ -346,12 +346,12 @@ export default SvgFile
346346"
347347` ;
348348
349- exports [` cli should support various args: --svg-props "hidden={ true } " 1` ] = `
349+ exports [` cli should support various args: --svg-props "hidden={ true } ,id=hello " 1` ] = `
350350"import React from 'react'
351351
352352function SvgFile(props) {
353353 return (
354- <svg width = { 48 } height = { 1 } hidden = { true } { ... props } >
354+ <svg width = { 48 } height = { 1 } hidden = { true } id =\\"hello\\" { ... props } >
355355 <path d =\\"M0 0h48v1H0z\\" fill =\\"#063855\\" fillRule =\\"evenodd\\" />
356356 </svg >
357357 )
@@ -382,20 +382,20 @@ export default SvgFile
382382exports [` cli should suppress output when transforming a directory with a --silent option 1` ] = ` ""` ;
383383
384384exports [` cli should transform a whole directory and output relative destination paths 1` ] = `
385- "[37m[39m
386- [37m[39m[37m__fixtures__ /cased/camelCase .svg -> __fixtures_build__/whole/cased/CamelCase .js[39m
387- [37m[39m[37m__fixtures__ /cased/kebab-case .svg -> __fixtures_build__/whole/cased/KebabCase .js[39m
388- [37m[39m[37m__fixtures__ /cased/multiple---dashes .svg -> __fixtures_build__/whole/cased/MultipleDashes .js[39m
389- [37m[39m[37m__fixtures__/complex/skype .svg -> __fixtures_build__/whole/complex/Skype .js[39m
390- [37m[39m[37m__fixtures__ /complex/telegram .svg -> __fixtures_build__/whole/complex/Telegram .js[39m
391- [37m[39m[37m__fixtures__/nesting/a/c/three .svg -> __fixtures_build__/whole/nesting/a/c/Three .js[39m
392- [37m[39m[37m__fixtures__ /nesting/a/two .svg -> __fixtures_build__/whole/nesting/a/Two .js[39m
393- [37m[39m[37m__fixtures__ /nesting/one .svg -> __fixtures_build__/whole/nesting/One .js[39m
394- [37m[39m[37m__fixtures__/simple/file .svg -> __fixtures_build__/whole/simple/File .js[39m
395- [37m[39m[37m__fixtures__/withPrettierRc /file.svg -> __fixtures_build__/whole/withPrettierRc /File.js[39m
396- [37m[39m[37m__fixtures__/withSvgoYml /file.svg -> __fixtures_build__/whole/withSvgoYml /File.js[39m
397- [37m[39m[37m__fixtures__/withSvgrRc /file.svg -> __fixtures_build__/whole/withSvgrRc /File.js[39m
398- [37m__fixtures__/cased/PascalCase .svg -> __fixtures_build__/whole/cased/PascalCase .js[39m "
385+ "
386+ __fixtures__ /cased/PascalCase .svg -> __fixtures_build__/whole/cased/PascalCase .js
387+ __fixtures__ /cased/camelCase .svg -> __fixtures_build__/whole/cased/CamelCase .js
388+ __fixtures__ /cased/kebab-case .svg -> __fixtures_build__/whole/cased/KebabCase .js
389+ __fixtures__/cased/multiple---dashes .svg -> __fixtures_build__/whole/cased/MultipleDashes .js
390+ __fixtures__ /complex/skype .svg -> __fixtures_build__/whole/complex/Skype .js
391+ __fixtures__/complex/telegram .svg -> __fixtures_build__/whole/complex/Telegram .js
392+ __fixtures__ /nesting/a/c/three .svg -> __fixtures_build__/whole/nesting/a/c/Three .js
393+ __fixtures__ /nesting/a/two .svg -> __fixtures_build__/whole/nesting/a/Two .js
394+ __fixtures__/nesting/one .svg -> __fixtures_build__/whole/nesting/One .js
395+ __fixtures__/simple /file.svg -> __fixtures_build__/whole/simple /File.js
396+ __fixtures__/withPrettierRc /file.svg -> __fixtures_build__/whole/withPrettierRc /File.js
397+ __fixtures__/withSvgoYml /file.svg -> __fixtures_build__/whole/withSvgoYml /File.js
398+ __fixtures__/withSvgrRc/file .svg -> __fixtures_build__/whole/withSvgrRc/File .js"
399399` ;
400400
401401exports [` cli should work with a simple file 1` ] = `
0 commit comments