From 227b46b6fb6805ec584e9c90dbc9cbb4af2dd3f7 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 3 Sep 2021 00:34:32 +0200 Subject: [PATCH] test: fix index file --- src/__tests__/list-folder.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__tests__/list-folder.test.ts b/src/__tests__/list-folder.test.ts index 9e0f209..9b20b58 100644 --- a/src/__tests__/list-folder.test.ts +++ b/src/__tests__/list-folder.test.ts @@ -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' } ]); @@ -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' }