Skip to content

Commit 67860b3

Browse files
committed
test(babel-plugin-enhanced-react-style): update snapshot tests
1 parent 1dfb72f commit 67860b3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/babel-plugin-enhanced-react-style/src/__snapshots__/index.test.ts.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`babel-plugin-split-styles Dynamic styles should stay in \`style\`: Dynamic styles should stay in \`style\` 1`] = `
3+
exports[`babel-plugin-enhanced-react-style Dynamic styles should stay in \`style\`: Dynamic styles should stay in \`style\` 1`] = `
44
"
55
<div style={{color: a ? \\"red\\" : \\"green\\"}} />
66
@@ -12,7 +12,7 @@ exports[`babel-plugin-split-styles Dynamic styles should stay in \`style\`: Dyna
1212
"
1313
`;
1414

15-
exports[`babel-plugin-split-styles Extract static from dynamic: Extract static from dynamic 1`] = `
15+
exports[`babel-plugin-enhanced-react-style Extract static from dynamic: Extract static from dynamic 1`] = `
1616
"
1717
<div style={{background: \\"blue\\", color: a ? \\"red\\" : \\"green\\"}} />
1818
@@ -26,7 +26,7 @@ exports[`babel-plugin-split-styles Extract static from dynamic: Extract static f
2626
"
2727
`;
2828

29-
exports[`babel-plugin-split-styles Ignore bound jsx elements: Ignore bound jsx elements 1`] = `
29+
exports[`babel-plugin-enhanced-react-style Ignore bound jsx elements: Ignore bound jsx elements 1`] = `
3030
"
3131
const div = () => {}; <div style={{some: \\"other\\", stuff}} />
3232
@@ -41,7 +41,7 @@ const div = () => {};
4141
"
4242
`;
4343

44-
exports[`babel-plugin-split-styles Ignore non identifier as element name: Ignore non identifier as element name 1`] = `
44+
exports[`babel-plugin-enhanced-react-style Ignore non identifier as element name: Ignore non identifier as element name 1`] = `
4545
"
4646
<animated.div style={{some: \\"other\\", stuff}} />
4747
@@ -54,7 +54,7 @@ exports[`babel-plugin-split-styles Ignore non identifier as element name: Ignore
5454
"
5555
`;
5656

57-
exports[`babel-plugin-split-styles Only static css: Only static css 1`] = `
57+
exports[`babel-plugin-enhanced-react-style Only static css: Only static css 1`] = `
5858
"
5959
<div style={{color: \\"green\\"}} />
6060
@@ -66,7 +66,7 @@ exports[`babel-plugin-split-styles Only static css: Only static css 1`] = `
6666
"
6767
`;
6868

69-
exports[`babel-plugin-split-styles Should bail if \`css\` property exists: Should bail if \`css\` property exists 1`] = `
69+
exports[`babel-plugin-enhanced-react-style Should bail if \`css\` property exists: Should bail if \`css\` property exists 1`] = `
7070
"
7171
<div css={{}} style={{background: \\"blue\\"}} />
7272
@@ -78,7 +78,7 @@ exports[`babel-plugin-split-styles Should bail if \`css\` property exists: Shoul
7878
"
7979
`;
8080

81-
exports[`babel-plugin-split-styles Should bail on non object expression: Should bail on non object expression 1`] = `
81+
exports[`babel-plugin-enhanced-react-style Should bail on non object expression: Should bail on non object expression 1`] = `
8282
"
8383
<div style={a} />
8484
@@ -88,7 +88,7 @@ exports[`babel-plugin-split-styles Should bail on non object expression: Should
8888
"
8989
`;
9090

91-
exports[`babel-plugin-split-styles Should work with boolean attributes: Should work with boolean attributes 1`] = `
91+
exports[`babel-plugin-enhanced-react-style Should work with boolean attributes: Should work with boolean attributes 1`] = `
9292
"
9393
<div allowFullScreen />
9494
@@ -98,7 +98,7 @@ exports[`babel-plugin-split-styles Should work with boolean attributes: Should w
9898
"
9999
`;
100100

101-
exports[`babel-plugin-split-styles Should work with nested object: Should work with nested object 1`] = `
101+
exports[`babel-plugin-enhanced-react-style Should work with nested object: Should work with nested object 1`] = `
102102
"
103103
<div style={{color: \\"green\\", \\"&\\": { \\":hover\\": { color: \\"blue\\"}}}} />
104104

0 commit comments

Comments
 (0)