Skip to content

Commit a01811e

Browse files
committed
Add test case with invalid minification
1 parent ed406c2 commit a01811e

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`issue40.ts 1`] = `
4+
5+
File: issue40.ts
6+
Source code:
7+
8+
declare const styled: any;
9+
10+
styled.div\`padding: 0 0 13px \${'50px'};\`
11+
12+
13+
TypeScript before transform:
14+
15+
declare const styled: any;
16+
styled.div \`padding: 0 0 13px \${"50px"};\`;
17+
18+
19+
TypeScript after transform:
20+
21+
declare const styled: any;
22+
styled.div \`padding:0 0 13px\${'50px'};\`;
23+
24+
25+
26+
`;
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`issue40.ts 1`] = `
4+
5+
File: issue40.ts
6+
Source code:
7+
8+
declare const styled: any;
9+
10+
styled.div\`padding: 0 0 13px \${'50px'};\`
11+
12+
13+
TypeScript before transform:
14+
15+
declare const styled: any;
16+
styled.div \`padding: 0 0 13px \${"50px"};\`;
17+
18+
19+
TypeScript after transform:
20+
21+
declare const styled: any;
22+
styled.div \`padding:0 0 13px\${'50px'};\`;
23+
24+
25+
26+
`;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare const styled: any;
2+
3+
styled.div`padding: 0 0 13px ${'50px'};`

0 commit comments

Comments
 (0)