@@ -71,8 +71,8 @@ describe('Config Loader', () => {
7171 expect ( result . buildOptions . format ) . toBe ( 'iife' ) ;
7272 expect ( result . buildOptions . target ) . toBe ( 'es2020' ) ;
7373 expect ( result . buildOptions . minify ) . toBe ( true ) ;
74- // Output path is resolved relative to config file directory
75- expect ( result . buildOptions . output ) . toBe ( '/test /dist/walker.js' ) ;
74+ // Output path is static ( relative to cwd)
75+ expect ( result . buildOptions . output ) . toBe ( '. /dist/walker.js' ) ;
7676 } ) ;
7777
7878 test ( 'applies platform-specific defaults for server' , ( ) => {
@@ -94,8 +94,8 @@ describe('Config Loader', () => {
9494 expect ( result . buildOptions . format ) . toBe ( 'esm' ) ;
9595 expect ( result . buildOptions . target ) . toBe ( 'node20' ) ;
9696 expect ( result . buildOptions . minify ) . toBe ( true ) ;
97- // Output path is resolved relative to config file directory
98- expect ( result . buildOptions . output ) . toBe ( '/test /dist/bundle.mjs' ) ;
97+ // Output path is static ( relative to cwd)
98+ expect ( result . buildOptions . output ) . toBe ( '. /dist/bundle.mjs' ) ;
9999 } ) ;
100100
101101 test ( 'extracts packages from flowConfig' , ( ) => {
@@ -461,8 +461,8 @@ describe('Config Loader', () => {
461461462462 ) ;
463463 expect ( result . buildOptions . minify ) . toBe ( true ) ;
464- // Output uses convention default
465- expect ( result . buildOptions . output ) . toBe ( '/test /dist/walker.js' ) ;
464+ // Output is static (relative to cwd)
465+ expect ( result . buildOptions . output ) . toBe ( '. /dist/walker.js' ) ;
466466 } ) ;
467467
468468 test ( 'extracts windowCollector and windowElb from web config' , ( ) => {
0 commit comments