From 462cd24995ae07943c7903f698c0d998aadc29bf Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sun, 8 May 2022 13:05:15 +0800 Subject: [PATCH] fix snapshot --- .../__tests__/__snapshots__/index.test.ts.snap | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/docusaurus/src/commands/swizzle/__tests__/__snapshots__/index.test.ts.snap b/packages/docusaurus/src/commands/swizzle/__tests__/__snapshots__/index.test.ts.snap index e48def8da891..84e98d772af6 100644 --- a/packages/docusaurus/src/commands/swizzle/__tests__/__snapshots__/index.test.ts.snap +++ b/packages/docusaurus/src/commands/swizzle/__tests__/__snapshots__/index.test.ts.snap @@ -162,14 +162,14 @@ exports[`swizzle eject ComponentInFolder/ComponentInSubFolder TS: theme dir tree └── styles.module.css" `; -exports[`swizzle eject ComponentInFolder/Sibling JS: Sibling.css 1`] = ` +exports[`swizzle eject ComponentInFolder/Sibling JS: ComponentInFolder/Sibling.css 1`] = ` ".testClass { background: black; } " `; -exports[`swizzle eject ComponentInFolder/Sibling JS: Sibling.tsx 1`] = ` +exports[`swizzle eject ComponentInFolder/Sibling JS: ComponentInFolder/Sibling.tsx 1`] = ` "import React from 'react'; export default function Sibling() { @@ -180,18 +180,19 @@ export default function Sibling() { exports[`swizzle eject ComponentInFolder/Sibling JS: theme dir tree 1`] = ` "theme -├── Sibling.css -└── Sibling.tsx" +└── ComponentInFolder + ├── Sibling.css + └── Sibling.tsx" `; -exports[`swizzle eject ComponentInFolder/Sibling TS: Sibling.css 1`] = ` +exports[`swizzle eject ComponentInFolder/Sibling TS: ComponentInFolder/Sibling.css 1`] = ` ".testClass { background: black; } " `; -exports[`swizzle eject ComponentInFolder/Sibling TS: Sibling.tsx 1`] = ` +exports[`swizzle eject ComponentInFolder/Sibling TS: ComponentInFolder/Sibling.tsx 1`] = ` "import React from 'react'; export default function Sibling() { @@ -202,8 +203,9 @@ export default function Sibling() { exports[`swizzle eject ComponentInFolder/Sibling TS: theme dir tree 1`] = ` "theme -├── Sibling.css -└── Sibling.tsx" +└── ComponentInFolder + ├── Sibling.css + └── Sibling.tsx" `; exports[`swizzle eject FirstLevelComponent JS: FirstLevelComponent.css 1`] = `