@@ -137,6 +137,8 @@ describe('config.mjs', () => {
137137 threads : 2 ,
138138 } ) ;
139139
140+ console . log ( config ) ;
141+
140142 assert . strictEqual ( config . global . input , 'custom-src/' ) ;
141143 assert . strictEqual ( config . global . output , 'custom-dist/' ) ;
142144 assert . strictEqual ( config . threads , 2 ) ;
@@ -220,34 +222,6 @@ describe('config.mjs', () => {
220222 } ) ;
221223 } ) ;
222224
223- describe ( 'merge behavior' , ( ) => {
224- it ( 'should handle array concatenation' , async ( ) => {
225- mockImportFromURL . mock . mockImplementationOnce ( async ( ) =>
226- createMockConfig ( { global : { ignore : [ 'node_modules/' ] } } )
227- ) ;
228-
229- const config = await createRunConfiguration ( {
230- configFile : 'config.mjs' ,
231- ignore : [ 'dist/' ] ,
232- } ) ;
233-
234- assert . ok ( Array . isArray ( config . global . ignore ) ) ;
235- } ) ;
236-
237- it ( 'should prefer earlier non-array values' , async ( ) => {
238- mockImportFromURL . mock . mockImplementationOnce ( async ( ) =>
239- createMockConfig ( { global : { minify : false } } )
240- ) ;
241-
242- const config = await createRunConfiguration ( {
243- configFile : 'config.mjs' ,
244- minify : true ,
245- } ) ;
246-
247- assert . strictEqual ( config . global . minify , false ) ;
248- } ) ;
249- } ) ;
250-
251225 describe ( 'transformation optimization' , ( ) => {
252226 const testCases = [
253227 {
0 commit comments