-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yibo Wang <yibow@amazon.com>
- Loading branch information
Showing
8 changed files
with
991 additions
and
1,818 deletions.
There are no files selected for viewing
456 changes: 155 additions & 301 deletions
456
...omponents/create_data_source_wizard/__snapshots__/create_data_source_wizard.test.tsx.snap
Large diffs are not rendered by default.
Oops, something went wrong.
2,280 changes: 775 additions & 1,505 deletions
2,280
..._source_wizard/components/create_form/__snapshots__/create_data_source_form.test.tsx.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...ment_app/compoenent/experimental_callout/__snapshots__/experimental_callout.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...ement/public/management_app/compoenent/experimental_callout/experimental_callout.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import React from 'react'; | ||
import { shallow } from 'enzyme'; | ||
import { ExperimentalCallout } from './experimental_callout'; | ||
import { DocLinksStart } from 'opensearch-dashboards/public'; | ||
import { docLinks } from '../../../mocks'; | ||
|
||
describe('Index pattern experimental callout component', () => { | ||
const mockedDocLinks = docLinks as DocLinksStart; | ||
test('should render normally', () => { | ||
const component = shallow(<ExperimentalCallout docLinks={mockedDocLinks} />); | ||
expect(component).toMatchSnapshot(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters