Skip to content

Commit

Permalink
feat: fixed broken test and updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt561 committed Jan 15, 2025
1 parent b137cd8 commit 502a4a6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`ChartTimespanButtonGroup render matches snapshot 1`] = `
"color": "#ffffff",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -56,7 +56,7 @@ exports[`ChartTimespanButtonGroup render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -88,7 +88,7 @@ exports[`ChartTimespanButtonGroup render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -120,7 +120,7 @@ exports[`ChartTimespanButtonGroup render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports[`InteractiveTimespanChart render matches snapshot 1`] = `
"color": "#ffffff",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -59,7 +59,7 @@ exports[`InteractiveTimespanChart render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -91,7 +91,7 @@ exports[`InteractiveTimespanChart render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -123,7 +123,7 @@ exports[`InteractiveTimespanChart render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -338,7 +338,7 @@ exports[`InteractiveTimespanChart supports customizing color 1`] = `
"color": "#ffffff",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -370,7 +370,7 @@ exports[`InteractiveTimespanChart supports customizing color 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -402,7 +402,7 @@ exports[`InteractiveTimespanChart supports customizing color 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -434,7 +434,7 @@ exports[`InteractiveTimespanChart supports customizing color 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jest.mock('../../hooks/useVaultAprs', () => ({
default: () => ({
vaultAprs: MOCK_VAULT_APRS,
isLoadingVaultAprs: false,
refreshVaultAprs: jest.fn(),
}),
}));

Expand All @@ -35,6 +36,7 @@ jest.mock('../../hooks/useVaultApys', () => ({
default: () => ({
vaultApys: MOCK_VAULT_DAILY_APYS,
isLoadingVaultApys: false,
refreshVaultApys: jest.fn(),
}),
}));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ exports[`PoolStakingLearnMoreModal render matches snapshot 1`] = `
"color": "#ffffff",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -255,7 +255,7 @@ exports[`PoolStakingLearnMoreModal render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -287,7 +287,7 @@ exports[`PoolStakingLearnMoreModal render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down Expand Up @@ -319,7 +319,7 @@ exports[`PoolStakingLearnMoreModal render matches snapshot 1`] = `
"color": "#9fa6ae",
"flexDirection": "column",
"justifyContent": "center",
"minHeight": 34,
"minHeight": 36,
"paddingHorizontal": 16,
"paddingVertical": 7,
}
Expand Down

0 comments on commit 502a4a6

Please sign in to comment.