Skip to content

Addon-Docs: Change URL hash when TOC item is clicked, and fix TOC loading bugs #42743

Addon-Docs: Change URL hash when TOC item is clicked, and fix TOC loading bugs

Addon-Docs: Change URL hash when TOC item is clicked, and fix TOC loading bugs #42743

Triggered via pull request December 23, 2024 23:51
Status Failure
Total duration 11m 9s
Artifacts

tests-unit.yml

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

Annotations

4 errors
src/manager-api/tests/url.test.js > initModule > updates args param on SET_CURRENT_STORY: code/core/src/manager-api/modules/url.ts#L194
ReferenceError: location is not defined ❯ Object.getUrlState src/manager-api/modules/url.ts:194:15 ❯ updateArgsParam src/manager-api/modules/url.ts:234:60 ❯ EventEmitter.<anonymous> src/manager-api/modules/url.ts:252:49 ❯ src/manager-api/tests/url.test.js:167:13
src/manager-api/tests/url.test.js > initModule > updates globals param on GLOBALS_UPDATED: code/core/src/manager-api/modules/url.ts#L194
ReferenceError: location is not defined ❯ Object.getUrlState src/manager-api/modules/url.ts:194:15 ❯ EventEmitter.<anonymous> src/manager-api/modules/url.ts:270:50 ❯ src/manager-api/tests/url.test.js:182:13
src/manager-api/tests/url.test.js > initModule > adds url params alphabetically: code/core/src/manager-api/modules/url.ts#L194
ReferenceError: location is not defined ❯ Object.getUrlState src/manager-api/modules/url.ts:194:15 ❯ EventEmitter.<anonymous> src/manager-api/modules/url.ts:270:50 ❯ src/manager-api/tests/url.test.js:209:13
Core Unit Tests, windows-latest
Process completed with exit code 1.