Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from Igorbek/bugfix/issue44
Fix #44
- Loading branch information
Showing
4 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
src/__tests__/baselines/minification-only/issue44.tsx.baseline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`issue44.tsx 1`] = ` | ||
|
||
File: issue44.tsx | ||
Source code: | ||
|
||
declare const styled: any; | ||
styled.div\` transition: width \${100}ms ease-in;\`; | ||
styled.div\` transition: width \${'100ms'} ease-in;\`; | ||
|
||
|
||
TypeScript before transform: | ||
|
||
declare const styled: any; | ||
styled.div \` transition: width \${100}ms ease-in;\`; | ||
styled.div \` transition: width \${"100ms"} ease-in;\`; | ||
|
||
|
||
TypeScript after transform: | ||
|
||
declare const styled: any; | ||
styled.div \`transition:width \${100}ms ease-in;\`; | ||
styled.div \`transition:width \${'100ms'} ease-in;\`; | ||
|
||
|
||
|
||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`issue44.tsx 1`] = ` | ||
|
||
File: issue44.tsx | ||
Source code: | ||
|
||
declare const styled: any; | ||
styled.div\` transition: width \${100}ms ease-in;\`; | ||
styled.div\` transition: width \${'100ms'} ease-in;\`; | ||
|
||
|
||
TypeScript before transform: | ||
|
||
declare const styled: any; | ||
styled.div \` transition: width \${100}ms ease-in;\`; | ||
styled.div \` transition: width \${"100ms"} ease-in;\`; | ||
|
||
|
||
TypeScript after transform: | ||
|
||
declare const styled: any; | ||
styled.div \`transition:width \${100}ms ease-in;\`; | ||
styled.div \`transition:width \${'100ms'} ease-in;\`; | ||
|
||
|
||
|
||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
declare const styled: any; | ||
styled.div` transition: width ${100}ms ease-in;`; | ||
styled.div` transition: width ${'100ms'} ease-in;`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters