Fix css embed in JSX when using (only) a spread attribute (#15896)

This commit is contained in:
Eelco Lempsink authored and GitHub committed 2024-01-14 11:42:25 +09:00
1 parent 12ab54898c
commit 0bfcb2d5a5
5 files changed
+27 -1

No files matched your search

@@ -0,0 +1,15 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`css-embed.js format 1`] = `
====================================options=====================================
parsers: ["flow", "babel"]
printWidth: 80
| printWidth
=====================================input======================================
<style {...spread}>{\`.{}\`}</style>;
=====================================output=====================================
<style {...spread}>{\`.{}\`}</style>;
================================================================================
`;
+1
View File
@@ -0,0 +1 @@
<style {...spread}>{`.{}`}</style>;
+1
View File
@@ -0,0 +1 @@
run_spec(import.meta, ["flow", "babel"]);