We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b445b61 commit 227b46bCopy full SHA for 227b46b
src/__tests__/list-folder.test.ts
@@ -25,7 +25,7 @@ describe('test file-structure', () => {
25
{ ext: '.js', folder: 'src/', isDir: false, name: 'file1', path: 'src/file1.js' },
26
{ ext: '.ts', folder: 'src/', isDir: false, name: 'file2', path: 'src/file2.ts' },
27
{ ext: '.vue', folder: 'src/lib/', isDir: false, name: 'file3', path: 'src/lib/file3.vue' },
28
- { ext: '.js', folder: 'src/lib/index', isDir: false, name: '_index', path: 'src/lib/index.js' },
+ { ext: '.js', folder: 'src/lib/', isDir: false, name: '__index__', path: 'src/lib/index.js' },
29
{ isDir: true, name: 'lib', path: 'src/lib' }
30
]);
31
@@ -35,7 +35,7 @@ describe('test file-structure', () => {
35
{
36
children: [
37
{ fullPath: 'src/lib/file3', name: 'file3', path: '/file3', ext: '.vue' },
38
- { fullPath: 'src/lib/_index', name: '_index', path: '/_index', ext: '.js' }
+ { fullPath: 'src/lib/__index__', name: '__index__', path: '/__index__', ext: '.js' }
39
],
40
name: 'lib'
41
}
0 commit comments