refactor: add nullish coalescing operator in FragmentOpt #1086
cd.yml
on: push
Annotations
2 errors
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:160:12
❯ Coordinates.halfWithMargin src/positioning/Coordinates.ts:152:17
❯ Coordinates.half src/positioning/Coordinates.ts:61:17
❯ Coordinates.getParticipantGap src/positioning/Coordinates.ts:130:27
❯ src/positioning/Coordinates.ts:123:35
❯ src/positioning/Coordinates.ts:122:32
❯ Coordinates.withParticipantGaps src/positioning/Coordinates.ts:121: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.
|