aglinxinyuan commented on code in PR #6785:
URL: https://github.com/apache/texera/pull/6785#discussion_r3628045605
##########
frontend/src/app/workspace/component/left-panel/versions-list/versions-list.component.spec.ts:
##########
@@ -50,10 +56,162 @@ describe("VersionsListComponent", () => {
fixture = TestBed.createComponent(VersionsListComponent);
component = fixture.componentInstance;
workflowActionService = TestBed.inject(WorkflowActionService);
+ workflowVersionService = TestBed.inject(WorkflowVersionService);
fixture.detectChanges();
});
Review Comment:
Fixed — removed fixture.detectChanges() from beforeEach so the ngOnInit
specs (which call ngOnInit() themselves after configuring spies) observe the
first/only invocation.
--
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]