OpenMetadata/openmetadata-spec
Aniket Katkar acc79aab1e
Chore(UI): Drive service bug fixes and unit tests (#23554)
* feat: Add file type, extension, and version fields to file details

- Updated  in  to include , , and .
- Introduced new test file  to cover the functionality of the .
- Enhanced  to export the  class for testing purposes.
- Created  to implement tests for the  functionality.
- Updated  to include  in the default fields for worksheets.

* feat: Add default filter patterns for directories, files, spreadsheets, and worksheets in Drive service

* fix: Add margin to advanced properties collapse for better spacing

* Update generated TypeScript types

* Add tests for new pages
refactor: Move interface definitions for detail page tabs to their respective utils files to fix circular dependency
Add unit tests for SpreadsheetDetailsUtils and WorksheetDetailsUtils

- Created SpreadsheetDetailsUtils.test.tsx to test the functionality of the SpreadsheetDetailsUtils module, including tab rendering and widget retrieval.
- Created WorksheetDetailsUtils.test.tsx to test the functionality of the WorksheetDetailsUtils module, covering tab rendering and widget handling.
- Implemented various test cases to ensure correct behavior for different scenarios, including edge cases for both modules.
- Mocked necessary components and utilities to isolate tests and ensure reliable results.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-29 09:42:16 +05:30
..