Skip to content

Refactor EventBus import to fix Vue Warning #803

Refactor EventBus import to fix Vue Warning

Refactor EventBus import to fix Vue Warning #803

Triggered via push July 18, 2024 12:11
Status Failure
Total duration 1m 18s
Artifacts

cd.yml

on: push
build-site
0s
build-site
npm-publish
0s
npm-publish
publish-to-gh-pages
0s
publish-to-gh-pages
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Unhandled error: src/positioning/WidthProviderFunc.ts#L12
ReferenceError: document is not defined ❯ Coordinates.WidthProviderOnBrowser [as widthProvider] src/positioning/WidthProviderFunc.ts:12:19 ❯ Coordinates._getParticipantWidth src/positioning/Coordinates.ts:156:12 ❯ Coordinates.halfWithMargin src/positioning/Coordinates.ts:151:17 ❯ Coordinates.half src/positioning/Coordinates.ts:63:43 ❯ Coordinates.getParticipantGap src/positioning/Coordinates.ts:132:27 ❯ src/positioning/Coordinates.ts:125:35 ❯ src/positioning/Coordinates.ts:124:32 ❯ Coordinates.withParticipantGaps src/positioning/Coordinates.ts:123:32 This error originated in "src/core.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes: - cancel timeouts using clearTimeout and clearInterval - wait for promises to resolve using the await keyword
test
Process completed with exit code 1.
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/