(css: string)
| 363 | // @keyframes reattaches to the following rule (and corrupts both the printed |
| 364 | // selector and the --shot querySelector). Drop comments up front. |
| 365 | function stripCssComments(css: string): string { |
| 366 | return css.replace(/\/\*[\s\S]*?\*\//g, " "); |
| 367 | } |
| 368 | |
| 369 | function surfaceCssKeyframes(rawCss: string): SurfacedCssKeyframes[] { |
| 370 | const css = stripCssComments(rawCss); |
no outgoing calls
no test coverage detected