mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-17 18:22:37 +02:00
misc: replace all "Metadatas" with "Metadata" (#5871)
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
parent
eab8c7c010
commit
c541e2d83c
36 changed files with 107 additions and 106 deletions
|
@ -22,9 +22,9 @@ describe('docusaurus-plugin-content-pages', () => {
|
|||
path: pluginPath,
|
||||
}),
|
||||
);
|
||||
const pagesMetadatas = await plugin.loadContent?.();
|
||||
const pagesMetadata = await plugin.loadContent?.();
|
||||
|
||||
expect(pagesMetadatas).toEqual([
|
||||
expect(pagesMetadata).toEqual([
|
||||
{
|
||||
type: 'jsx',
|
||||
permalink: '/',
|
||||
|
@ -89,7 +89,7 @@ describe('docusaurus-plugin-content-pages', () => {
|
|||
path: pluginPath,
|
||||
}),
|
||||
);
|
||||
const pagesMetadatas = await plugin.loadContent?.();
|
||||
const pagesMetadata = await plugin.loadContent?.();
|
||||
|
||||
const frTranslationsPath = path.posix.join(
|
||||
'@site',
|
||||
|
@ -98,7 +98,7 @@ describe('docusaurus-plugin-content-pages', () => {
|
|||
'docusaurus-plugin-content-pages',
|
||||
);
|
||||
|
||||
expect(pagesMetadatas).toEqual([
|
||||
expect(pagesMetadata).toEqual([
|
||||
{
|
||||
type: 'jsx',
|
||||
permalink: '/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue