Improve types of testing utilities and fix some types in unit test code (#26122)

* Improve type of DeepPartial and make mergeObjects handle Sets/Maps properly

* Fix linting

* Remove undefined fields from menu_cloud_trial.test

* Prevent importing the wrong version of DeepPartial
Этот коммит содержится в:
Harrison Healey
2024-02-13 11:48:13 -05:00
коммит произвёл GitHub
родитель bdce9f42d8
Коммит daab9d5ff5
43 изменённых файлов: 303 добавлений и 292 удалений

Просмотреть файл

@@ -58,7 +58,7 @@ describe('components/cloud_start_trial_btn/cloud_start_trial_btn', () => {
modals: {
modalState: {
learn_more_trial_modal: {
open: 'true',
open: true,
},
},
},

Просмотреть файл

@@ -40,7 +40,7 @@ describe('components/request_business_email_modal/request_business_email_modal',
modals: {
modalState: {
request_business_email_modal: {
open: 'true',
open: true,
},
},
},