@@ -52,7 +52,7 @@ describe('Webpack DLL Build Tasks Utils', () => {
5252
5353 isFileAccessible . mockImplementation ( ( ) => true ) ;
5454
55- const mockManifestPath = '/mock/mock_dll_manifest.json' ;
55+ const mockManifestPath = [ '/mock/mock_dll_manifest.json' ] ;
5656 const mockModulesWhitelist = [ 'dep1' ] ;
5757 const dllEntries = await getDllEntries ( mockManifestPath , mockModulesWhitelist ) ;
5858
@@ -66,7 +66,7 @@ describe('Webpack DLL Build Tasks Utils', () => {
6666
6767 isFileAccessible . mockImplementation ( ( ) => false ) ;
6868
69- const mockManifestPath = '/mock/mock_dll_manifest.json' ;
69+ const mockManifestPath = [ '/mock/mock_dll_manifest.json' ] ;
7070 const mockModulesWhitelist = [ 'dep1' ] ;
7171 const dllEntries = await getDllEntries ( mockManifestPath , mockModulesWhitelist ) ;
7272
@@ -78,7 +78,7 @@ describe('Webpack DLL Build Tasks Utils', () => {
7878 it ( 'should throw an error for no manifest file' , async ( ) => {
7979 read . mockImplementationOnce ( async ( ) => noManifestMock ) ;
8080
81- const mockManifestPath = '/mock/mock_dll_manifest.json' ;
81+ const mockManifestPath = [ '/mock/mock_dll_manifest.json' ] ;
8282
8383 try {
8484 await getDllEntries ( mockManifestPath , [ ] ) ;
@@ -92,7 +92,7 @@ describe('Webpack DLL Build Tasks Utils', () => {
9292 it ( 'should throw an error for no manifest content field' , async ( ) => {
9393 read . mockImplementation ( async ( ) => noContentFieldManifestMock ) ;
9494
95- const mockManifestPath = '/mock/mock_dll_manifest.json' ;
95+ const mockManifestPath = [ '/mock/mock_dll_manifest.json' ] ;
9696
9797 try {
9898 await getDllEntries ( mockManifestPath , [ ] ) ;
@@ -106,7 +106,7 @@ describe('Webpack DLL Build Tasks Utils', () => {
106106 it ( 'should throw an error for manifest file without any content' , async ( ) => {
107107 read . mockImplementation ( async ( ) => emptyManifestContentMock ) ;
108108
109- const mockManifestPath = '/mock/mock_dll_manifest.json' ;
109+ const mockManifestPath = [ '/mock/mock_dll_manifest.json' ] ;
110110
111111 try {
112112 await getDllEntries ( mockManifestPath , [ ] ) ;
0 commit comments