This change makes port and path optional in WebSocketConfigOptions and therefore in createUrl. This provides more flexibility for end-user.
In addition, this PR finally introduces unit test to the project. vitest experimental browser feature is used to allow headless browser tests (chrome currently) to be performed in the build pipeline or locally, of course. The browser support is required for code that loads monaco-editor.
This change makes port and path optional in
WebSocketConfigOptions
and therefore increateUrl
. This provides more flexibility for end-user. In addition, this PR finally introduces unit test to the project. vitest experimental browser feature is used to allow headless browser tests (chrome currently) to be performed in the build pipeline or locally, of course. The browser support is required for code that loads monaco-editor.