-
- Downloads
Add custom react-testing-library render function (#18353)
* Add custom @testing-library/react render wrapper * Migrate unit tests to custom render function * Rename helper to `renderWithProviders` * Remove irrelevant eslint rule disable
Showing
- frontend/src/metabase/admin/databases/containers/DatabaseEditApp.unit.spec.js 6 additions, 16 deletions...e/admin/databases/containers/DatabaseEditApp.unit.spec.js
- frontend/src/metabase/collections/containers/CollectionSidebar/Collections/Collections.unit.spec.js 11 additions, 14 deletions...rs/CollectionSidebar/Collections/Collections.unit.spec.js
- frontend/src/metabase/collections/containers/CollectionSidebar/Collections/CollectionsList/CollectionsList.unit.spec.js 10 additions, 23 deletions.../Collections/CollectionsList/CollectionsList.unit.spec.js
- frontend/src/metabase/collections/containers/CollectionSidebar/RootCollectionLink/RootCollectionLink.unit.spec.js 3 additions, 13 deletions...idebar/RootCollectionLink/RootCollectionLink.unit.spec.js
- frontend/src/metabase/components/CreateDashboardModal.unit.spec.js 2 additions, 9 deletions...src/metabase/components/CreateDashboardModal.unit.spec.js
- frontend/src/metabase/containers/ItemPicker.unit.spec.js 7 additions, 12 deletionsfrontend/src/metabase/containers/ItemPicker.unit.spec.js
- frontend/src/metabase/dashboard/components/DashboardDetailsModal.unit.spec.js 6 additions, 9 deletions...e/dashboard/components/DashboardDetailsModal.unit.spec.js
- frontend/src/metabase/nav/components/RecentsList.unit.spec.js 2 additions, 10 deletions...tend/src/metabase/nav/components/RecentsList.unit.spec.js
- frontend/src/metabase/query_builder/components/notebook/steps/JoinStep.unit.spec.js 9 additions, 13 deletions...y_builder/components/notebook/steps/JoinStep.unit.spec.js
- frontend/src/metabase/query_builder/components/view/EditQuestionInfoModal.unit.spec.js 7 additions, 12 deletions...uilder/components/view/EditQuestionInfoModal.unit.spec.js
- frontend/src/metabase/search/components/InfoText.unit.spec.js 2 additions, 10 deletions...tend/src/metabase/search/components/InfoText.unit.spec.js
- frontend/test/__support__/ui.js 115 additions, 0 deletionsfrontend/test/__support__/ui.js
- frontend/test/metabase/collections/BaseItemsTable.unit.spec.js 9 additions, 13 deletions...end/test/metabase/collections/BaseItemsTable.unit.spec.js
- frontend/test/metabase/components/LastEditInfoLabel.unit.spec.js 6 additions, 12 deletions...d/test/metabase/components/LastEditInfoLabel.unit.spec.js
- frontend/test/metabase/containers/SaveQuestionModal.unit.spec.js 11 additions, 17 deletions...d/test/metabase/containers/SaveQuestionModal.unit.spec.js
- frontend/test/metabase/entities/containers/EntityListLoader.unit.spec.js 14 additions, 28 deletions...etabase/entities/containers/EntityListLoader.unit.spec.js
Loading
Please register or sign in to comment