Fix css embed in JSX when using (only) a spread attribute (#15896)
This commit is contained in:
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>;
|
||||
|
||||
================================================================================
|
||||
`;
|
||||
@@ -0,0 +1 @@
|
||||
<style {...spread}>{`.{}`}</style>;
|
||||
@@ -0,0 +1 @@
|
||||
run_spec(import.meta, ["flow", "babel"]);
|
||||
Reference in new issue
Block a user