Addon-Docs: Change URL hash when TOC item is clicked, and fix TOC loading bugs #42744
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.
|