- test('sdn-preload checkbox is visible', () => {
- const instance = {};
- const sdncPreload: FormControlModel = service.getSDNCControl(instance);
+ each(
+ [
+ [' checked', true, true],
+ [' not checked', false, false ]
+ ]
+ ).
+ test('sdn-preload checkbox is %s', (
+ description: string, checkedByDefault: boolean, expected: boolean
+ ) => {
+ const instance = null;
+ const sdncPreload: FormControlModel = service.getSDNCControl(instance, checkedByDefault);