File tree Expand file tree Collapse file tree 3 files changed +90
-0
lines changed
Expand file tree Collapse file tree 3 files changed +90
-0
lines changed Original file line number Diff line number Diff line change 1+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+ exports[`issue142.tsx 1`] = `
4+
5+ File: issue142.tsx
6+ Source code:
7+
8+ declare const styled: any;
9+
10+ const Header = styled.div\`
11+ display: flex;
12+ \\t align-items: center;
13+ justify-content: space-between;
14+ \\t \\t font-weight: 600;
15+ padding: 0.8em 1.6em;\\t \\t
16+ background: peachpuff;
17+ \`;
18+
19+
20+ TypeScript before transform:
21+
22+ declare const styled: any;
23+ const Header = styled.div \`
24+ display: flex;
25+ \\t align-items: center;
26+ justify-content: space-between;
27+ \\t \\t font-weight: 600;
28+ padding: 0.8em 1.6em;\\t \\t
29+ background: peachpuff;
30+ \`;
31+
32+
33+ TypeScript after transform:
34+
35+ declare const styled: any;
36+ const Header = styled.div \` display:flex; align-items:center; justify-content:space-between; font-weight:600; padding:0.8em 1.6em; background:peachpuff;\`;
37+
38+
39+
40+ `;
Original file line number Diff line number Diff line change 1+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+ exports[`issue142.tsx 1`] = `
4+
5+ File: issue142.tsx
6+ Source code:
7+
8+ declare const styled: any;
9+
10+ const Header = styled.div\`
11+ display: flex;
12+ \\t align-items: center;
13+ justify-content: space-between;
14+ \\t \\t font-weight: 600;
15+ padding: 0.8em 1.6em;\\t \\t
16+ background: peachpuff;
17+ \`;
18+
19+
20+ TypeScript before transform:
21+
22+ declare const styled: any;
23+ const Header = styled.div \`
24+ display: flex;
25+ \\t align-items: center;
26+ justify-content: space-between;
27+ \\t \\t font-weight: 600;
28+ padding: 0.8em 1.6em;\\t \\t
29+ background: peachpuff;
30+ \`;
31+
32+
33+ TypeScript after transform:
34+
35+ declare const styled: any;
36+ const Header = styled.div.withConfig({ displayName: "Header" }) \` display:flex; align-items:center; justify-content:space-between; font-weight:600; padding:0.8em 1.6em; background:peachpuff;\`;
37+
38+
39+
40+ `;
Original file line number Diff line number Diff line change 1+ declare const styled : any ;
2+
3+ const Header = styled . div `
4+ display: flex;
5+ \t align-items: center;
6+ justify-content: space-between;
7+ \t \t font-weight: 600;
8+ padding: 0.8em 1.6em;\t \t
9+ background: peachpuff;
10+ ` ;
You can’t perform that action at this time.
0 commit comments