TypeFox / monaco-components

Monaco Editor and Language Client Wrapper, plus Monaco Editor React Component
MIT License
42 stars 13 forks source link

createUrl now allows web socket urls without port and path #30

Closed kaisalmen closed 1 year ago

kaisalmen commented 1 year ago

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.