client/test/unit/routes/DigitalTwins.test.tsx
import * as React from 'react';
import DigitalTwins from 'route/digitaltwins/DigitalTwins';
import tabs from 'route/digitaltwins/DigitalTwinTabData';
import {
InitRouteTests,
itDisplaysContentOfTabs,
itHasCorrectTabNameinDTIframe,
} from 'test/unit/unit.testUtil';
describe('Digital Twins', () => {
const tabLabels: string[] = [];
tabs.forEach((tab) => tabLabels.push(tab.label));
InitRouteTests(<DigitalTwins />);
itDisplaysContentOfTabs(tabs);
itHasCorrectTabNameinDTIframe(tabLabels);
});