We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6faff3e commit fe98b93Copy full SHA for fe98b93
1 file changed
src/legacy/core_plugins/kibana/public/home/components/welcome.test.tsx
@@ -33,17 +33,18 @@ jest.mock('../kibana_services', () => ({
33
}));
34
35
test('should render a Welcome screen with the telemetry disclaimer', () => {
36
- // @ts-ignore
37
- const component = shallow((
+ const component = shallow(
+ // @ts-ignore
38
<Welcome urlBase="/" onSkip={() => {}} showTelemetryDisclaimer={true} />
39
- ) as any);
+ );
40
41
expect(component).toMatchSnapshot();
42
});
43
44
test('should render a Welcome screen with no telemetry disclaimer', () => {
45
// @ts-ignore
46
const component = shallow(
47
48
<Welcome urlBase="/" onSkip={() => {}} showTelemetryDisclaimer={false} />
49
);
50
0 commit comments