Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Feb 13, 2020
1 parent 2e6db84 commit 2f1f47d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,47 +24,17 @@ describe('IntegrationGroup', () => {
});

it('will not display APM links when APM is unavailable', () => {
const component = shallowWithIntl(
<IntegrationGroup
// basePath="foo"
// dateRangeStart="now-12m"
// dateRangeEnd="now-1m"
// isApmAvailable={false}
// isInfraAvailable={true}
// isLogsAvailable={true}
summary={summary}
/>
);
const component = shallowWithIntl(<IntegrationGroup summary={summary} />);
expect(component).toMatchSnapshot();
});

it('will not display infra links when infra is unavailable', () => {
const component = shallowWithIntl(
<IntegrationGroup
// basePath="foo"
// dateRangeStart="now-12m"
// dateRangeEnd="now-1m"
// isApmAvailable={true}
// isInfraAvailable={false}
// isLogsAvailable={true}
summary={summary}
/>
);
const component = shallowWithIntl(<IntegrationGroup summary={summary} />);
expect(component).toMatchSnapshot();
});

it('will not display logging links when logging is unavailable', () => {
const component = shallowWithIntl(
<IntegrationGroup
// basePath="foo"
// dateRangeStart="now-12m"
// dateRangeEnd="now-1m"
// isApmAvailable={true}
// isInfraAvailable={true}
// isLogsAvailable={false}
summary={summary}
/>
);
const component = shallowWithIntl(<IntegrationGroup summary={summary} />);
expect(component).toMatchSnapshot();
});
});

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2f1f47d

Please sign in to comment.