优化
This commit is contained in:
@@ -146,7 +146,8 @@ test('Chinese English and Spanish locale selection is persisted from profile wit
|
||||
for (const label of ['简体中文', 'English', 'Español']) assert.match(i18n, new RegExp(label))
|
||||
assert.match(profile, /currentLocale, LOCALE_OPTIONS, setLocale/)
|
||||
assert.match(profile, /@tap="selectLanguage"[\s\S]*切换语言/)
|
||||
assert.match(profile, /uni\.showActionSheet[\s\S]*setLocale\(selected\.value\)/)
|
||||
assert.match(profile, /ref="languagePopup"[\s\S]*role="radiogroup"/)
|
||||
assert.match(profile, /applyLanguage\(value\)[\s\S]*setLocale\(selected\.value\)/)
|
||||
assert.match(inbound, /warehouse-profile/)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user