fix(v2): fixing typo in error message ()

This commit is contained in:
Nahiyan Kamal 2020-09-11 20:33:08 +02:00 committed by GitHub
parent 306122e3b1
commit 8a437961f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
packages/docusaurus-plugin-content-docs/src/__tests__

View file

@ -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"`,
);
});
});