test(settings): add test cases for the settings validator validateSelectionOptions function for test cases that should throw an error

This commit is contained in:
2026-06-04 15:27:55 +02:00
parent d0dc66940a
commit f322f19f9e
@@ -160,6 +160,11 @@ describe('validateSelectionOptions', () => {
}); });
test.for([ test.for([
[[{}]],
[[{ i18n: '' }]],
[[{ i18n: 'a' }]],
[[{ name: 'a' }]],
[[{ name: '' }]],
[[{ name: '', i18n: 'test.label' }]], [[{ name: '', i18n: 'test.label' }]],
[[{ name: 'test', i18n: '' }]], [[{ name: 'test', i18n: '' }]],
[[{ name: '', i18n: '' }]], [[{ name: '', i18n: '' }]],