mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-11-05 20:59:26 +08:00
While we had infrastructure to correctly format SCSS files, formatting a `.scss` file never worked, as the formatter worker missed the case to do so. Therefore, add the case and while we are at it, add corresponding unit tests. These unit tests were taken from third_party/blink/web_tests/http/tests/devtools/syntax-highlight-css.js which was only asserting on AST structure, rather than formatted output. R=jacktfranklin@chromium.org Bug: 1203169 Change-Id: I5453858c3493168db9b1403f9ddab205488ad8d1 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2978355 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>