-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix project errors regarding eslint and config
- Loading branch information
Showing
10 changed files
with
291 additions
and
70 deletions.
There are no files selected for viewing
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
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
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
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
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
261 changes: 261 additions & 0 deletions
261
src/components/__tests__/Typography/__snapshots__/Text.test.js.snap
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,261 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`renders every variant of Text with children as content 1`] = ` | ||
Array [ | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
<Text | ||
style={ | ||
Array [ | ||
Object { | ||
"color": "#000000", | ||
"fontFamily": "System", | ||
"fontWeight": "400", | ||
}, | ||
Object { | ||
"textAlign": "left", | ||
}, | ||
undefined, | ||
] | ||
} | ||
> | ||
Something rendered as a child content | ||
</Text>, | ||
] | ||
`; |
Oops, something went wrong.