mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
Fix test imports and update package-lock.json
This commit is contained in:
parent
7cae5047fb
commit
4f540b33ae
2 changed files with 1156 additions and 435 deletions
1587
package-lock.json
generated
1587
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -16,8 +16,6 @@ import EditWidgetCheckboxControl from '../../../components/dialog/edit-widget-ch
|
|||
import EditWidgetMinMaxControl from '../../../components/dialog/edit-widget-min-max-control';
|
||||
import EditWidgetColorZonesControl from '../../../components/dialog/edit-widget-color-zones-control';
|
||||
import EditWidgetHTMLContent from '../../../components/dialog/edit-widget-html-content';
|
||||
import editWidgetSimulatorControl from '../../../components/dialog/edit-widget-simulator-control';
|
||||
import editWidgetSignalControl from '../../../components/dialog/edit-widget-signal-control';
|
||||
|
||||
describe('edit widget control creator', () => {
|
||||
it('should not return null', () => {
|
||||
|
@ -38,7 +36,7 @@ describe('edit widget control creator', () => {
|
|||
{ args: { widgetType: 'Box' }, result: { controlNumber: 1, controlTypes: [EditWidgetColorControl] } },
|
||||
{ args: { widgetType: 'Label' }, result: { controlNumber: 3, controlTypes: [EditWidgetTextControl, EditWidgetTextSizeControl, EditWidgetColorControl] } },
|
||||
{ args: { widgetType: 'HTML' }, result: { controlNumber: 1, controlTypes: [EditWidgetHTMLContent] } },
|
||||
{ args: { widgetType: 'NumberInput'}, result: { controlNumber: 3, controlTypes: [EditWidgetTextControl, editWidgetSimulatorControl, editWidgetSignalControl] } }
|
||||
{ args: { widgetType: 'NumberInput'}, result: { controlNumber: 3, controlTypes: [EditWidgetTextControl, EditWidgetSimulatorControl, EditWidgetSignalControl] } }
|
||||
];
|
||||
|
||||
runs.forEach( (run) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue