Skip to content

Commit

Permalink
test: fix index file
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed Sep 2, 2021
1 parent b445b61 commit 227b46b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/list-folder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('test file-structure', () => {
{ ext: '.js', folder: 'src/', isDir: false, name: 'file1', path: 'src/file1.js' },
{ ext: '.ts', folder: 'src/', isDir: false, name: 'file2', path: 'src/file2.ts' },
{ ext: '.vue', folder: 'src/lib/', isDir: false, name: 'file3', path: 'src/lib/file3.vue' },
{ 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' },
{ isDir: true, name: 'lib', path: 'src/lib' }
]);

Expand All @@ -35,7 +35,7 @@ describe('test file-structure', () => {
{
children: [
{ fullPath: 'src/lib/file3', name: 'file3', path: '/file3', ext: '.vue' },
{ fullPath: 'src/lib/_index', name: '_index', path: '/_index', ext: '.js' }
{ fullPath: 'src/lib/__index__', name: '__index__', path: '/__index__', ext: '.js' }
],
name: 'lib'
}
Expand Down

0 comments on commit 227b46b

Please sign in to comment.