generated from Seekra/repository-template
test(settings): add unit test for the settings validator validateEntry function for test cases that should not throw an error
This commit is contained in:
@@ -40,7 +40,7 @@ export const validateSelectionOptions = function validateSelectionOptions (optio
|
||||
});
|
||||
}
|
||||
|
||||
function validateEntry(entry, path) {
|
||||
export const validateEntry = function validateEntry (entry, path) {
|
||||
assertType(entry.type, `${path}.type`);
|
||||
|
||||
if (entry.type === 'section') {
|
||||
|
||||
Reference in New Issue
Block a user