Skip to content

Commit fe98b93

Browse files
author
Joel Griffith
committed
Fixing TS issues in test
1 parent 6faff3e commit fe98b93

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/legacy/core_plugins/kibana/public/home/components/welcome.test.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,18 @@ jest.mock('../kibana_services', () => ({
3333
}));
3434

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

4141
expect(component).toMatchSnapshot();
4242
});
4343

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

0 commit comments

Comments
 (0)