mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-20 01:57:52 +02:00
add test for generator key propagation
This commit is contained in:
parent
ff272ad7be
commit
af3ba423ea
2 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ exports[`DefaultSidebarItemsGenerator generates complex nested sidebar 1`] = `
|
|||
"type": "doc",
|
||||
},
|
||||
],
|
||||
"key": "SubGuides-category-unique-key",
|
||||
"label": "SubGuides (metadata file label)",
|
||||
"link": {
|
||||
"description": "subGuides-description",
|
||||
|
|
|
@ -129,6 +129,7 @@ describe('DefaultSidebarItemsGenerator', () => {
|
|||
},
|
||||
'02-Guides/01-SubGuides': {
|
||||
label: 'SubGuides (metadata file label)',
|
||||
key: 'SubGuides-category-unique-key',
|
||||
link: {
|
||||
type: 'generated-index',
|
||||
slug: 'subGuides-generated-index-slug',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue