Skip to content

Commit

Permalink
Fixing TS issues in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Griffith committed Nov 12, 2019
1 parent 6faff3e commit fe98b93
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,18 @@ jest.mock('../kibana_services', () => ({
}));

test('should render a Welcome screen with the telemetry disclaimer', () => {
// @ts-ignore
const component = shallow((
const component = shallow(
// @ts-ignore
<Welcome urlBase="/" onSkip={() => {}} showTelemetryDisclaimer={true} />
) as any);
);

expect(component).toMatchSnapshot();
});

test('should render a Welcome screen with no telemetry disclaimer', () => {
// @ts-ignore
const component = shallow(
// @ts-ignore
<Welcome urlBase="/" onSkip={() => {}} showTelemetryDisclaimer={false} />
);

Expand Down

0 comments on commit fe98b93

Please sign in to comment.