Skip to content

Commit

Permalink
✅ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tokyo committed Dec 30, 2022
1 parent 099a7fd commit 4cd8eae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ module.exports = {
coverageDirectory: './coverage',
coverageThreshold: {
global: {
branches: 0,
functions: 0,
lines: 0,
statements: 0,
branches: 40,
functions: 58,
lines: 58,
statements: 58,
},
},
};
4 changes: 1 addition & 3 deletions src/components/Layout/Col/__snapshots__/Col.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ exports[`<Col /> renders basic props correctly 1`] = `
<View
style={
[
{
"paddingHorizontal": 12,
},
{
"flex": 1,
"paddingHorizontal": 12,
},
undefined,
]
Expand Down
2 changes: 1 addition & 1 deletion src/components/Layout/Row/__snapshots__/Row.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ exports[`<Row /> renders basic props correctly 1`] = `
style={
[
{
"flex": 1,
"flexDirection": "row",
"flexWrap": "wrap",
"width": "100%",
},
{
"marginHorizontal": -12,
Expand Down

0 comments on commit 4cd8eae

Please sign in to comment.