The GitHub Actions job "License Binary Checker" on texera.git/main has failed.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
bf2f92c81bed8520d6421bdb4b820ca61667ca2a / Matthew B. <[email protected]>
test: enable child rendering in WorkspaceComponent spec (#5037)

### What changes were proposed in this PR?
Drops the `<div #codeEditor>` template stub from `WorkspaceComponent`'s
unit spec so the real `workspace.component.html` renders. Heavyweight
children (workflow editor, panels, menu) are kept out of the test build
by stripping
the component's `imports`/`providers` and adding
`CUSTOM_ELEMENTS_SCHEMA`, leaving the `<ng-template #codeEditor>` outlet
free to wire a live `ViewContainerRef` into `CodeEditorService.vc`. A
new `child rendering side
effects` describe block asserts that the editor-lifecycle wiring runs
end-to-end (the published outlet is a real `ViewContainerRef`, proven by
`createEmbeddedView` being a function on it).

  ### Any related issues, documentation, or discussions?
  Closes: #5015

  ### How was this PR tested?
- `yarn test
--include="src/app/workspace/component/workspace.component.spec.ts"
--watch=false`: 20/20 pass (19 prior tests preserved, 1 new).
- `yarn test --watch=false`: full suite 445 passed, 2 skipped, 2 todo
(no regressions).
  - `yarn format:fix`: no rewrites.
  
  ### Was this PR authored or co-authored using generative AI tooling?
  Co-authored with Claude Opus 4.7 in compliance with ASF

---------

Co-authored-by: Meng Wang <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/26286240053

With regards,
GitHub Actions via GitBox

Reply via email to