diff --git a/plugins/plugin-md-power/__test__/__snapshots__/fileTreePlugin.spec.ts.snap b/plugins/plugin-md-power/__test__/__snapshots__/fileTreePlugin.spec.ts.snap index 42d0caaf..b76ed869 100644 --- a/plugins/plugin-md-power/__test__/__snapshots__/fileTreePlugin.spec.ts.snap +++ b/plugins/plugin-md-power/__test__/__snapshots__/fileTreePlugin.spec.ts.snap @@ -6,17 +6,32 @@ exports[`fileTree > parseFileTreeRawContent > should work 1`] = ` "children": [ { "children": [], - "info": "README.md", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "README.md", + "focus": false, "level": 1, + "type": "file", }, { "children": [], - "info": "foo.md", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "foo.md", + "focus": false, "level": 1, + "type": "file", }, ], - "info": "docs", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "docs", + "focus": false, "level": 0, + "type": "file", }, { "children": [ @@ -26,52 +41,97 @@ exports[`fileTree > parseFileTreeRawContent > should work 1`] = ` "children": [ { "children": [], - "info": "**Navbar.vue**", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "Navbar.vue", + "focus": true, "level": 3, + "type": "file", }, ], - "info": "components", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "components", + "focus": false, "level": 2, + "type": "file", }, { "children": [], - "info": "index.ts # comment", + "comment": "# comment", + "diff": undefined, + "expanded": true, + "filename": "index.ts", + "focus": false, "level": 2, + "type": "file", }, ], - "info": "client", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "client", + "focus": false, "level": 1, + "type": "file", }, { "children": [ { "children": [], - "info": "index.ts", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "index.ts", + "focus": false, "level": 2, + "type": "file", }, ], - "info": "node", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "node", + "focus": false, "level": 1, + "type": "file", }, ], - "info": "src", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "src", + "focus": false, "level": 0, + "type": "file", }, { "children": [], - "info": ".gitignore", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": ".gitignore", + "focus": false, "level": 0, + "type": "file", }, { "children": [], - "info": "package.json", + "comment": "", + "diff": undefined, + "expanded": true, + "filename": "package.json", + "focus": false, "level": 0, + "type": "file", }, ] `; exports[`fileTreePlugin > should work with default options 1`] = ` -"
files
files
item1
-