File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
static/app/views/explore/metrics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import {
99 within ,
1010} from 'sentry-test/reactTestingLibrary' ;
1111
12+ import type { DatePageFilterProps } from 'sentry/components/organizations/datePageFilter' ;
1213import { MetricsTabContent } from 'sentry/views/explore/metrics/metricsTab' ;
1314import { MultiMetricsQueryParamsProvider } from 'sentry/views/explore/metrics/multiMetricsQueryParams' ;
14- import type { PickableDays } from 'sentry/views/explore/utils' ;
1515
16- const datePageFilterProps : PickableDays = {
16+ const datePageFilterProps : DatePageFilterProps = {
1717 defaultPeriod : '7d' as const ,
1818 maxPickableDays : 7 ,
1919 relativeOptions : ( { arbitraryOptions} ) => ( {
@@ -171,7 +171,7 @@ describe('MetricsTabContent', () => {
171171 it ( 'should add a metric when Add Metric button is clicked' , async ( ) => {
172172 render (
173173 < ProviderWrapper >
174- < MetricsTabContent { ... datePageFilterProps } />
174+ < MetricsTabContent datePageFilterProps = { datePageFilterProps } />
175175 </ ProviderWrapper > ,
176176 {
177177 initialRouterConfig,
You can’t perform that action at this time.
0 commit comments