Skip to content

Feat/use query

Feat/use query #13

Triggered via pull request October 17, 2024 16:05
Status Failure
Total duration 46s
Artifacts

tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Unhandled error: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ Object.next src/component/switch.ts:88:33 ❯ ConsumerObserver.next ../../node_modules/rxjs/src/internal/Subscriber.ts:161:25 ❯ SafeSubscriber.Subscriber._next ../../node_modules/rxjs/src/internal/Subscriber.ts:119:22 ❯ SafeSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 ❯ ../../node_modules/rxjs/src/internal/operators/filter.ts:72:109 ❯ OperatorSubscriber._this._next ../../node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13 ❯ OperatorSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 This error originated in "src/component/switch.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ Object.next src/component/switch.ts:88:33 ❯ ConsumerObserver.next ../../node_modules/rxjs/src/internal/Subscriber.ts:161:25 ❯ SafeSubscriber.Subscriber._next ../../node_modules/rxjs/src/internal/Subscriber.ts:119:22 ❯ SafeSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 ❯ ../../node_modules/rxjs/src/internal/operators/filter.ts:72:109 ❯ OperatorSubscriber._this._next ../../node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13 ❯ OperatorSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 This error originated in "src/router/RouterView.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ Object.next src/component/switch.ts:88:33 ❯ ConsumerObserver.next ../../node_modules/rxjs/src/internal/Subscriber.ts:161:25 ❯ SafeSubscriber.Subscriber._next ../../node_modules/rxjs/src/internal/Subscriber.ts:119:22 ❯ SafeSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 ❯ ../../node_modules/rxjs/src/internal/operators/filter.ts:72:109 ❯ OperatorSubscriber._this._next ../../node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13 ❯ OperatorSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 This error originated in "src/router/RouterView.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ Object.next src/component/switch.ts:88:33 ❯ ConsumerObserver.next ../../node_modules/rxjs/src/internal/Subscriber.ts:161:25 ❯ SafeSubscriber.Subscriber._next ../../node_modules/rxjs/src/internal/Subscriber.ts:119:22 ❯ SafeSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 ❯ ../../node_modules/rxjs/src/internal/operators/filter.ts:72:109 ❯ OperatorSubscriber._this._next ../../node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13 ❯ OperatorSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 This error originated in "src/router/RouterView.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ Object.next src/component/switch.ts:88:33 ❯ ConsumerObserver.next ../../node_modules/rxjs/src/internal/Subscriber.ts:161:25 ❯ SafeSubscriber.Subscriber._next ../../node_modules/rxjs/src/internal/Subscriber.ts:119:22 ❯ SafeSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 ❯ ../../node_modules/rxjs/src/internal/operators/filter.ts:72:109 ❯ OperatorSubscriber._this._next ../../node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13 ❯ OperatorSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 This error originated in "src/router/RouterView.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ Object.next src/component/switch.ts:88:33 ❯ ConsumerObserver.next ../../node_modules/rxjs/src/internal/Subscriber.ts:161:25 ❯ SafeSubscriber.Subscriber._next ../../node_modules/rxjs/src/internal/Subscriber.ts:119:22 ❯ SafeSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 ❯ ../../node_modules/rxjs/src/internal/operators/filter.ts:72:109 ❯ OperatorSubscriber._this._next ../../node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13 ❯ OperatorSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 This error originated in "src/router/RouterView.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ Object.next src/component/switch.ts:88:33 ❯ ConsumerObserver.next ../../node_modules/rxjs/src/internal/Subscriber.ts:161:25 ❯ SafeSubscriber.Subscriber._next ../../node_modules/rxjs/src/internal/Subscriber.ts:119:22 ❯ SafeSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 ❯ ../../node_modules/rxjs/src/internal/operators/filter.ts:72:109 ❯ OperatorSubscriber._this._next ../../node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13 ❯ OperatorSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 This error originated in "src/router/RouterView.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ Object.next src/component/switch.ts:88:33 ❯ ConsumerObserver.next ../../node_modules/rxjs/src/internal/Subscriber.ts:161:25 ❯ SafeSubscriber.Subscriber._next ../../node_modules/rxjs/src/internal/Subscriber.ts:119:22 ❯ SafeSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 ❯ ../../node_modules/rxjs/src/internal/operators/filter.ts:72:109 ❯ OperatorSubscriber._this._next ../../node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13 ❯ OperatorSubscriber.Subscriber.next ../../node_modules/rxjs/src/internal/Subscriber.ts:75:12 This error originated in "src/router/RouterView.spec.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
src/component/switch.spec.ts > switchComponent > binary switch component > destroys the previous component and inits the new component when the reactiveValue changes: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ src/component/switch.spec.ts:63:18
src/component/switch.spec.ts > switchComponent > ternary switch component > works as expected with a ternary switch component: packages/core/src/component/switch.ts#L10
ReferenceError: document is not defined ❯ buildPlaceholderComment src/component/switch.ts:10:19 ❯ SwitchComponent.renderOnce src/component/switch.ts:36:7 ❯ SwitchComponent.descriptor.value src/common/logger.ts:46:32 ❯ src/component/switch.spec.ts:129:23
test (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/