The GitHub Actions job "Required Checks" on texera.git/chore/monaco-lsp-v10 has 
succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
03796ca6e444de54d5a1aa871d276c3533ae4a47 / Xinyuan Lin <[email protected]>
test(frontend): port code-editor browser spec to monaco-languageclient v10

The v10 upgrade replaced the single MonacoEditorLanguageClientWrapper 
(initAndStart) with a global MonacoVscodeApiWrapper + per-editor EditorApp, but 
code-editor.component.browser.spec.ts still swapped a fake `editorWrapper` and 
asserted on `wrapper.initAndStart(userConfig, host)` — so all 7 browser-mode 
tests failed with "called 0 times".

Drive the v10 seams instead: mock `monaco-languageclient/editorApp` to record 
the EditorAppConfig and start() host and hand back the fake editor, and stub 
the static `ensureVscodeApiStarted` so no real codingame worker / language 
extension loads. Assertions move off 
`userConfig.wrapperConfig.editorAppConfig.codeResources.main` to the EditorApp 
config's `codeResources.modified` (and `.original` on the diff path).

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

With regards,
GitHub Actions via GitBox

Reply via email to