generated from Seekra/repository-template
test(settings): add test cases for the settings validator validateSelectionOptions function for test cases that should throw an error
This commit is contained in:
@@ -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: '' }]],
|
||||||
|
|||||||
Reference in New Issue
Block a user