From f43af83fb7c807ccc82908ebf3116b78e75a18b8 Mon Sep 17 00:00:00 2001 From: sebastienlorber Date: Wed, 1 Jun 2022 15:54:26 +0200 Subject: [PATCH] fix test typo --- .../docusaurus-plugin-content-docs/src/__tests__/docs.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-plugin-content-docs/src/__tests__/docs.test.ts b/packages/docusaurus-plugin-content-docs/src/__tests__/docs.test.ts index 562b873dda0b..88b74733f7ce 100644 --- a/packages/docusaurus-plugin-content-docs/src/__tests__/docs.test.ts +++ b/packages/docusaurus-plugin-content-docs/src/__tests__/docs.test.ts @@ -118,7 +118,7 @@ function createTestUtils({ async function testSlug(docFileSource: string, expectedPermalink: string) { const docFile = await readDoc(docFileSource); - const metadata = processDocMetadata({ + const metadata = await processDocMetadata({ docFile, versionMetadata, context,