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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
bdce9f42d8
Коммит
daab9d5ff5
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Ссылка в новой задаче
Block a user