import { IntelliSenseUtility } from "../../src/DigitalTwin/pnp/src/intelliSense/intelliSenseUtility" ; const vscode = require ( "../../__mocks__/vscode" ) ; describe ( "IntelliSense utility" , ( ) => { const context = vscode . ExtensionContext ; beforeAll ( ( ) => { return IntelliSenseUtility . initGraph ( context ) ; } ) ; test ( "parse DigitalTwin model with normal JSON file" , ( ) => { const text = `{ "@type": "Interface" }` ; expect ( IntelliSenseUtility . parseDigitalTwinModel ( text ) ) . toBeUndefined ( ) ; } ) ; } ) ;