sergeyteleshev
|
5d2c6dc062
|
[CB] write unit tests (#3928)
* dbeaver/pro#7563 adds unit tests for core-utils
* removes restore all mocks
* adds eslint rules: now arrow function + no unnamed functions (to improve debug experience)
* fixes test according new eslint rules
* removes arrow function expression eslint
* adds Icon Or Image unit tests
* removes problematic test
* useSMock & sMock + reuses these mocks
* adds StaticImage tests
* adds UploadArea tests
* adds tests for useAdministrationSettings
* un-skips useCombinedHandler
* tries to fix useObjectRef via correct mocking (failed github action)
* adds useErrorDetails tests
* rewrites useObjectRef tests so it works stable
* unskips app-init & getTextFileReadingProcess
* adds useFuzzySearch tests
* adds useSearch tests
* pr fixes after copilot review
* self review fixes
* pr fixes
* introduces user events
* uses get by role id to check accessibility of the components
* fixes redefined focus in body
* removes mocks
* removes mocks 2
* removes mocks 3
* removes repeated test cases
|
2025-12-12 18:55:50 +08:00 |
|