chore: Removes tabs animation by default (#14496)

This commit is contained in:
Michael S. Molina
2021-05-08 18:22:16 -03:00
committed by GitHub
parent 79ff96269b
commit e7a4734742
2 changed files with 3 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ describe('DashboardBuilder', () => {
it('should set animated=true on Tabs for perf', () => {
const wrapper = setup({ dashboardLayout: undoableDashboardLayoutWithTabs });
const tabProps = wrapper.find(ParentSize).find(Tabs).props();
expect(tabProps.animated).toBe(true);
expect(tabProps.animated).toEqual({ inkBar: true, tabPane: false });
});
it('should render a TabPane and DashboardGrid for first Tab', () => {