Copilot commented on code in PR #7354:
URL: https://github.com/apache/texera/pull/7354#discussion_r3727098535


##########
frontend/src/app/workspace/component/left-panel/operator-menu/operator-menu.component.spec.ts:
##########
@@ -32,6 +35,8 @@ import { JointUIService } from 
"../../../service/joint-ui/joint-ui.service";
 import { WorkflowUtilService } from 
"../../../service/workflow-graph/util/workflow-util.service";
 import { NzDropDownModule } from "ng-zorro-antd/dropdown";
 import { NzCollapseModule } from "ng-zorro-antd/collapse";
+import { NzAutocompleteOptionComponent } from "ng-zorro-antd/auto-complete";
+import * as joint from "jointjs";

Review Comment:
   These imports are only used for type assertions in the tests; importing them 
as values can unnecessarily execute module code (notably `jointjs`) and slow 
down/complicate the test runtime. Prefer `import type` here to keep them 
type-only.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to