Skip to content

feat: update to Angular 21 (and switch to Vitest) #658

feat: update to Angular 21 (and switch to Vitest)

feat: update to Angular 21 (and switch to Vitest) #658

Triggered via pull request December 14, 2025 18:08
@timdeschryvertimdeschryver
synchronize #558
ng-21
Status Failure
Total duration 6m 31s
Artifacts

ci.yml

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

Annotations

56 errors
build_test_release (24, ubuntu-latest)
The action 'test' has timed out after 5 minutes.
[example-app] apps/example-app/src/app/examples/14-async-component.spec.ts: apps/example-app/src/app/examples/14-async-component.spec.ts#L7
Error: zone-testing.js is needed for the fakeAsync() test helper but could not be found. Please make sure that your environment includes zone.js/testing ❯ withFakeAsyncTestModule node_modules/@angular/core/fesm2022/testing.mjs:297:11 ❯ fakeAsync node_modules/@angular/core/fesm2022/testing.mjs:311:10 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:7:42 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:1:1
[example-app] apps/example-app/src/app/examples/12-service-component.spec.ts > renders the provided customers with createMock: apps/example-app/src/app/examples/12-service-component.spec.ts#L50
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/12-service-component.spec.ts:50:28
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with provideMocked from jest-utils: apps/example-app/src/app/examples/05-component-provider.spec.ts#L71
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ provideMock projects/testing-library/jest-utils/src/lib/create-mock.ts:45:15 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:71:26
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with a mocked jest-utils service: apps/example-app/src/app/examples/05-component-provider.spec.ts#L38
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:38:19
[testing-library] projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts > should re-create the app: node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L339
TestingLibraryElementError: Found multiple elements with the role "heading" Here are the matching elements: Ignored nodes: comments, script, style <h1> My title </h1> Ignored nodes: comments, script, style <h1> My title </h1> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div ng-version="21.0.5" > <h1> My title </h1> </div> <div ng-version="21.0.5" > <h1> My title </h1> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:339:19 ❯ getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1149:22 ❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1152:10 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1188:13 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1228:19 ❯ projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts:12:17
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > rendered component > rejects when something cannot be found: projects/testing-library/src/tests/find-by.spec.ts#L37
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:37:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > rendered component > waits for element to be added to the DOM: projects/testing-library/src/tests/find-by.spec.ts#L30
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:30:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > screen > rejects when something cannot be found: projects/testing-library/src/tests/find-by.spec.ts#L23
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:23:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > screen > waits for element to be added to the DOM: projects/testing-library/src/tests/find-by.spec.ts#L18
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:18:3
build_test_release (20, windows-latest)
The strategy configuration was canceled because "build_test_release._24_ubuntu-latest" failed
build_test_release (20, windows-latest)
The operation was canceled.
[example-app] apps/example-app/src/app/examples/14-async-component.spec.ts: apps/example-app/src/app/examples/14-async-component.spec.ts#L7
Error: zone-testing.js is needed for the fakeAsync() test helper but could not be found. Please make sure that your environment includes zone.js/testing ❯ withFakeAsyncTestModule node_modules/@angular/core/fesm2022/testing.mjs:297:11 ❯ fakeAsync node_modules/@angular/core/fesm2022/testing.mjs:311:10 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:7:42 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:1:1
[example-app] apps/example-app/src/app/examples/12-service-component.spec.ts > renders the provided customers with createMock: apps/example-app/src/app/examples/12-service-component.spec.ts#L50
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/12-service-component.spec.ts:50:28
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with provideMocked from jest-utils: apps/example-app/src/app/examples/05-component-provider.spec.ts#L71
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ provideMock projects/testing-library/jest-utils/src/lib/create-mock.ts:45:15 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:71:26
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with a mocked jest-utils service: apps/example-app/src/app/examples/05-component-provider.spec.ts#L38
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:38:19
[testing-library] projects/testing-library/src/tests/issues/issue-437.spec.ts > issue #437: projects/testing-library/src/tests/issues/issue-437.spec.ts#L10
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/issues/issue-437.spec.ts:10:1 ❯ projects/testing-library/src/tests/issues/issue-437.spec.ts:1:1
[testing-library] projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts > should re-create the app: node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L339
TestingLibraryElementError: Found multiple elements with the role "heading" Here are the matching elements: Ignored nodes: comments, script, style <h1> My title </h1> Ignored nodes: comments, script, style <h1> My title </h1> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div ng-version="21.0.5" > <h1> My title </h1> </div> <div ng-version="21.0.5" > <h1> My title </h1> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:339:19 ❯ getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1149:22 ❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1152:10 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1188:13 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1228:19 ❯ projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts:12:17
build_test_release (24, windows-latest)
The strategy configuration was canceled because "build_test_release._24_ubuntu-latest" failed
build_test_release (24, windows-latest)
The operation was canceled.
[example-app] apps/example-app/src/app/examples/14-async-component.spec.ts: apps/example-app/src/app/examples/14-async-component.spec.ts#L7
Error: zone-testing.js is needed for the fakeAsync() test helper but could not be found. Please make sure that your environment includes zone.js/testing ❯ withFakeAsyncTestModule node_modules/@angular/core/fesm2022/testing.mjs:297:11 ❯ fakeAsync node_modules/@angular/core/fesm2022/testing.mjs:311:10 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:7:42 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:1:1
[example-app] apps/example-app/src/app/examples/12-service-component.spec.ts > renders the provided customers with createMock: apps/example-app/src/app/examples/12-service-component.spec.ts#L50
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/12-service-component.spec.ts:50:28
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with provideMocked from jest-utils: apps/example-app/src/app/examples/05-component-provider.spec.ts#L71
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ provideMock projects/testing-library/jest-utils/src/lib/create-mock.ts:45:15 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:71:26
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with a mocked jest-utils service: apps/example-app/src/app/examples/05-component-provider.spec.ts#L38
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:38:19
[testing-library] projects/testing-library/src/tests/issues/issue-437.spec.ts > issue #437: projects/testing-library/src/tests/issues/issue-437.spec.ts#L10
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/issues/issue-437.spec.ts:10:1 ❯ projects/testing-library/src/tests/issues/issue-437.spec.ts:1:1
[testing-library] projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts > should re-create the app: node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L339
TestingLibraryElementError: Found multiple elements with the role "heading" Here are the matching elements: Ignored nodes: comments, script, style <h1> My title </h1> Ignored nodes: comments, script, style <h1> My title </h1> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div ng-version="21.0.5" > <h1> My title </h1> </div> <div ng-version="21.0.5" > <h1> My title </h1> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:339:19 ❯ getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1149:22 ❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1152:10 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1188:13 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1228:19 ❯ projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts:12:17
build_test_release (22, ubuntu-latest)
The strategy configuration was canceled because "build_test_release._24_ubuntu-latest" failed
build_test_release (22, ubuntu-latest)
The operation was canceled.
[example-app] apps/example-app/src/app/examples/14-async-component.spec.ts: apps/example-app/src/app/examples/14-async-component.spec.ts#L7
Error: zone-testing.js is needed for the fakeAsync() test helper but could not be found. Please make sure that your environment includes zone.js/testing ❯ withFakeAsyncTestModule node_modules/@angular/core/fesm2022/testing.mjs:297:11 ❯ fakeAsync node_modules/@angular/core/fesm2022/testing.mjs:311:10 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:7:42 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:1:1
[example-app] apps/example-app/src/app/examples/12-service-component.spec.ts > renders the provided customers with createMock: apps/example-app/src/app/examples/12-service-component.spec.ts#L50
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/12-service-component.spec.ts:50:28
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with provideMocked from jest-utils: apps/example-app/src/app/examples/05-component-provider.spec.ts#L71
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ provideMock projects/testing-library/jest-utils/src/lib/create-mock.ts:45:15 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:71:26
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with a mocked jest-utils service: apps/example-app/src/app/examples/05-component-provider.spec.ts#L38
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:38:19
[testing-library] projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts > should re-create the app: node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L339
TestingLibraryElementError: Found multiple elements with the role "heading" Here are the matching elements: Ignored nodes: comments, script, style <h1> My title </h1> Ignored nodes: comments, script, style <h1> My title </h1> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div ng-version="21.0.5" > <h1> My title </h1> </div> <div ng-version="21.0.5" > <h1> My title </h1> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:339:19 ❯ getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1149:22 ❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1152:10 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1188:13 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1228:19 ❯ projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts:12:17
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > rendered component > rejects when something cannot be found: projects/testing-library/src/tests/find-by.spec.ts#L37
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:37:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > rendered component > waits for element to be added to the DOM: projects/testing-library/src/tests/find-by.spec.ts#L30
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:30:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > screen > rejects when something cannot be found: projects/testing-library/src/tests/find-by.spec.ts#L23
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:23:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > screen > waits for element to be added to the DOM: projects/testing-library/src/tests/find-by.spec.ts#L18
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:18:3
build_test_release (20, ubuntu-latest)
The strategy configuration was canceled because "build_test_release._24_ubuntu-latest" failed
build_test_release (20, ubuntu-latest)
The operation was canceled.
[example-app] apps/example-app/src/app/examples/14-async-component.spec.ts: apps/example-app/src/app/examples/14-async-component.spec.ts#L7
Error: zone-testing.js is needed for the fakeAsync() test helper but could not be found. Please make sure that your environment includes zone.js/testing ❯ withFakeAsyncTestModule node_modules/@angular/core/fesm2022/testing.mjs:297:11 ❯ fakeAsync node_modules/@angular/core/fesm2022/testing.mjs:311:10 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:7:42 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:1:1
[example-app] apps/example-app/src/app/examples/12-service-component.spec.ts > renders the provided customers with createMock: apps/example-app/src/app/examples/12-service-component.spec.ts#L50
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/12-service-component.spec.ts:50:28
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with provideMocked from jest-utils: apps/example-app/src/app/examples/05-component-provider.spec.ts#L71
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ provideMock projects/testing-library/jest-utils/src/lib/create-mock.ts:45:15 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:71:26
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with a mocked jest-utils service: apps/example-app/src/app/examples/05-component-provider.spec.ts#L38
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:38:19
[testing-library] projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts > should re-create the app: node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L339
TestingLibraryElementError: Found multiple elements with the role "heading" Here are the matching elements: Ignored nodes: comments, script, style <h1> My title </h1> Ignored nodes: comments, script, style <h1> My title </h1> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div ng-version="21.0.5" > <h1> My title </h1> </div> <div ng-version="21.0.5" > <h1> My title </h1> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:339:19 ❯ getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1149:22 ❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1152:10 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1188:13 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1228:19 ❯ projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts:12:17
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > rendered component > rejects when something cannot be found: projects/testing-library/src/tests/find-by.spec.ts#L37
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:37:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > rendered component > waits for element to be added to the DOM: projects/testing-library/src/tests/find-by.spec.ts#L30
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:30:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > screen > rejects when something cannot be found: projects/testing-library/src/tests/find-by.spec.ts#L23
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:23:3
[testing-library] projects/testing-library/src/tests/find-by.spec.ts > screen > waits for element to be added to the DOM: projects/testing-library/src/tests/find-by.spec.ts#L18
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/find-by.spec.ts:18:3
build_test_release (22, windows-latest)
The strategy configuration was canceled because "build_test_release._24_ubuntu-latest" failed
build_test_release (22, windows-latest)
The operation was canceled.
[example-app] apps/example-app/src/app/examples/14-async-component.spec.ts: apps/example-app/src/app/examples/14-async-component.spec.ts#L7
Error: zone-testing.js is needed for the fakeAsync() test helper but could not be found. Please make sure that your environment includes zone.js/testing ❯ withFakeAsyncTestModule node_modules/@angular/core/fesm2022/testing.mjs:297:11 ❯ fakeAsync node_modules/@angular/core/fesm2022/testing.mjs:311:10 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:7:42 ❯ apps/example-app/src/app/examples/14-async-component.spec.ts:1:1
[example-app] apps/example-app/src/app/examples/12-service-component.spec.ts > renders the provided customers with createMock: apps/example-app/src/app/examples/12-service-component.spec.ts#L50
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/12-service-component.spec.ts:50:28
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with provideMocked from jest-utils: apps/example-app/src/app/examples/05-component-provider.spec.ts#L71
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ provideMock projects/testing-library/jest-utils/src/lib/create-mock.ts:45:15 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:71:26
[example-app] apps/example-app/src/app/examples/05-component-provider.spec.ts > renders the current value and can increment and decrement with a mocked jest-utils service: apps/example-app/src/app/examples/05-component-provider.spec.ts#L38
ReferenceError: jest is not defined ❯ mockFunctions projects/testing-library/jest-utils/src/lib/create-mock.ts:20:22 ❯ createMock projects/testing-library/jest-utils/src/lib/create-mock.ts:27:3 ❯ apps/example-app/src/app/examples/05-component-provider.spec.ts:38:19
[testing-library] projects/testing-library/src/tests/issues/issue-437.spec.ts > issue #437: projects/testing-library/src/tests/issues/issue-437.spec.ts#L10
Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ projects/testing-library/src/tests/issues/issue-437.spec.ts:10:1 ❯ projects/testing-library/src/tests/issues/issue-437.spec.ts:1:1
[testing-library] projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts > should re-create the app: node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L339
TestingLibraryElementError: Found multiple elements with the role "heading" Here are the matching elements: Ignored nodes: comments, script, style <h1> My title </h1> Ignored nodes: comments, script, style <h1> My title </h1> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div ng-version="21.0.5" > <h1> My title </h1> </div> <div ng-version="21.0.5" > <h1> My title </h1> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:339:19 ❯ getElementError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1149:22 ❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1152:10 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1188:13 ❯ node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1228:19 ❯ projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts:12:17