Fix issue-3568: UI: DataQualityTable test is failing (#3569)

This commit is contained in:
Shailesh Parmar 2022-03-22 10:23:50 +05:30 committed by GitHub
parent a66ef4800c
commit a1adb23808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,12 @@ jest.mock('../../common/non-admin-action/NonAdminAction', () => {
));
});
jest.mock('../../common/rich-text-editor/RichTextEditorPreviewer', () => {
return jest
.fn()
.mockImplementation(() => <div>RichTextEditorPreviewerComponent</div>);
});
describe('Test DataQualityTable component', () => {
it('DataQualityTable component should be render properly', async () => {
const { container } = render(