Refactor editior instance creation and settings management #461
Annotations
2 errors and 1 warning
Run Playwright Tests
ReferenceError: Worker is not defined
at ../src/editor/language-detection/autodetect.js:30
28 | // we'll use a shared global web worker for the language detection, for multiple Editor instances
29 | const editorInstances = {}
> 30 | const detectionWorker = new Worker('langdetect-worker.js?worker');
| ^
31 | detectionWorker.onmessage = (event) => {
32 | //console.log("event:", event.data)
33 | if (!event.data.guesslang.language) {
at Object.<anonymous> (/home/runner/work/heynote/heynote/src/editor/language-detection/autodetect.js:30:25)
at Object.<anonymous> (/home/runner/work/heynote/heynote/src/editor/editor.js:21:1)
at Object.<anonymous> (/home/runner/work/heynote/heynote/src/stores/editor-cache.js:7:1)
at Object.<anonymous> (/home/runner/work/heynote/heynote/src/stores/heynote-store.js:4:1)
at Object.<anonymous> (/home/runner/work/heynote/heynote/src/editor/block/block.js:7:1)
at Object.<anonymous> (/home/runner/work/heynote/heynote/tests/block-parsing.spec.js:5:1)
|
Run Playwright Tests
Process completed with exit code 1.
|
Run Playwright Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
169 KB |
|