mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-17 11:07:07 +02:00
fix(v2): fixing typo in error message (#3441)
This commit is contained in:
parent
306122e3b1
commit
8a437961f6
2 changed files with 2 additions and 2 deletions
packages/docusaurus-plugin-content-docs/src/__tests__
|
@ -354,7 +354,7 @@ describe('simple site', () => {
|
|||
}),
|
||||
);
|
||||
}).toThrowErrorMatchingInlineSnapshot(
|
||||
`"The docs homepage (homePageId=homePageId) is not allowed to have a frontmatter slug=/x/y => you have to chooser either homePageId or slug, not both"`,
|
||||
`"The docs homepage (homePageId=homePageId) is not allowed to have a frontmatter slug=/x/y => you have to choose either homePageId or slug, not both"`,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue