test(settings): add test cases for the settings validator validateSelectionOptions function for test cases that should throw an error
This commit is contained in:
1 parent
98940eeec4
commit
88819f5684
1 file changed
+5
@@ -160,6 +160,11 @@ describe('validateSelectionOptions', () => {
|
||||
});
|
||||
|
||||
test.for([
|
||||
[[{}]],
|
||||
[[{ i18n: '' }]],
|
||||
[[{ i18n: 'a' }]],
|
||||
[[{ name: 'a' }]],
|
||||
[[{ name: '' }]],
|
||||
[[{ name: '', i18n: 'test.label' }]],
|
||||
[[{ name: 'test', i18n: '' }]],
|
||||
[[{ name: '', i18n: '' }]],
|
||||
|
||||
Reference in new issue
Block a user