sensorDigital, grafik Fest, drawPunkt eingefügt
This commit is contained in:
1 parent
f43053d7b3
commit
6e4bd5339f
51 files changed
+1203
-31
No files matched your search
@@ -35,4 +35,9 @@ describe('XAML-Dateiexport', () => {
|
||||
expect(() => createXamlFiles(aggregates, { ...dto, auswahl: [...dto.auswahl, ...dto.auswahl] })).toThrow('Doppelter');
|
||||
expect(() => createXamlFiles(aggregates, { ...dto, auswahl: [{ componentId: 'fremd', elementKeys: ['main'] }] })).toThrow('dieser Anlage');
|
||||
});
|
||||
it('verwendet den festen Bibliotheksnamen und exportiert Mehrfachverwendungen nur einmal', () => {
|
||||
const fixed: ProConViewElement = { ...element, varianten: [{ zustand: 'inactive', libraryId: 'library1', libraryName: 'Punkt_gruen', xaml: '<Viewbox/>', xamlBase64: '' }] };
|
||||
const result = createXamlFiles([{ ...aggregates[0], elemente: [fixed] }], { ...dto, auswahl: [...dto.auswahl, ...dto.auswahl] });
|
||||
expect(result.files).toEqual([{ name: 'Punkt_gruen.xaml', data: '<Viewbox/>' }]);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user