implement toc processing #2405
Annotations
6 errors and 4 warnings
Node v18.x on ubuntu-latest
Process completed with exit code 1.
|
Node v18.x on macos-latest
Process completed with exit code 1.
|
src/commands/build/core/toc/index.spec.ts > toc-loader > includes > should rebase items href for includes in link mode:
src/commands/build/core/toc/index.spec.ts#L55
Error: Snapshot `toc-loader > includes > should rebase items href for includes in link mode 1` mismatched
- Expected
+ Received
"items:
- name: Outer Item
items:
- name: Inner Item 1
- href: _includes/core/item-1.md
+ href: _includes\core\item-1.md
items:
- name: Inner Sub Item 1
- href: _includes/core/sub-item-1.md
+ href: _includes\core\sub-item-1.md
- name: Inner Item 2
- href: _includes/core/item-2.md
+ href: _includes\core\item-2.md
- name: Inner Item 3
- href: _includes/core/sub/item-3.md
+ href: _includes\core\sub\item-3.md
- name: Inner Item 4
- href: _includes/core/sub/item-4.md
+ href: _includes\core\sub\item-4.md
- name: Inner Item 5
- href: _includes/item-5.md
+ href: _includes\item-5.md
- name: Inner Item 6
href: https://example.com
- name: Inner Item 7
href: //example.com
"
❯ src/commands/build/core/toc/index.spec.ts:55:34
|
src/commands/build/core/toc/index.spec.ts > toc-loader > includes > should merge deep includes in link mode:
src/commands/build/core/toc/index.spec.ts#L55
Error: Snapshot `toc-loader > includes > should merge deep includes in link mode 1` mismatched
- Expected
+ Received
"items:
- name: Outer Item
items:
- name: Inner Item 1
- href: _includes/core/item-1.md
+ href: _includes\core\item-1.md
- name: Inner Item 2
items:
- name: Inner Lib Item 1
- href: _includes/lib/item-1.md
+ href: _includes\lib\item-1.md
"
❯ src/commands/build/core/toc/index.spec.ts:55:34
|
src/commands/build/core/toc/index.spec.ts > toc-loader > includes > should merge deep includes in merge mode:
src/commands/build/core/toc/index.spec.ts#L55
Error: Snapshot `toc-loader > includes > should merge deep includes in merge mode 1` mismatched
- Expected
+ Received
"items:
- name: Outer Item
items:
- name: Inner Item 1
- href: _includes/core/item-1.md
+ href: _includes\core\item-1.md
- name: Inner Item 2
items:
- name: Inner Merge Item 1
- href: _includes/core/merge-item-1.md
+ href: _includes\core\merge-item-1.md
- name: Inner Deep Merge Item 1
- href: _includes/core/deep-merge-item-1.md
+ href: _includes\core\deep-merge-item-1.md
- name: Inner Sub Item 1
- href: _includes/core/sub-item-1.md
+ href: _includes\core\sub-item-1.md
"
❯ src/commands/build/core/toc/index.spec.ts:55:34
|
Node v18.x on windows-latest
Process completed with exit code 1.
|
Node v18.x on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Node v18.x on ubuntu-latest
Unexpected input(s) 'os', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
|
Node v18.x on macos-latest
Unexpected input(s) 'os', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
|
Node v18.x on windows-latest
Unexpected input(s) 'os', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path', 'version']
|