@@ -56,13 +56,13 @@ describeNode18Plus("vite 6 bundle", () => {
5656} ) ;
5757
5858describeNode18Plus ( "webpack 5 bundle" , ( ) => {
59- const viteRoot = path . join ( __dirname , "input" , "webpack5" ) ;
59+ const webpackRoot = path . join ( __dirname , "input" , "webpack5" ) ;
6060 const tempDir = createTempDir ( ) ;
6161
6262 beforeEach ( ( ) => {
63- execSync ( "yarn install" , { cwd : viteRoot , stdio : "inherit" } ) ;
63+ execSync ( "yarn install" , { cwd : webpackRoot , stdio : "inherit" } ) ;
6464 execSync ( "yarn webpack build" , {
65- cwd : viteRoot ,
65+ cwd : webpackRoot ,
6666 stdio : "inherit" ,
6767 env : { ...process . env , SENTRY_TEST_OVERRIDE_TEMP_DIR : tempDir } ,
6868 } ) ;
@@ -81,13 +81,13 @@ describeNode18Plus("webpack 5 bundle", () => {
8181} ) ;
8282
8383describeNode18Plus ( "rollup bundle" , ( ) => {
84- const viteRoot = path . join ( __dirname , "input" , "rollup4" ) ;
84+ const rollupRoot = path . join ( __dirname , "input" , "rollup4" ) ;
8585 const tempDir = createTempDir ( ) ;
8686
8787 beforeEach ( ( ) => {
88- execSync ( "yarn install" , { cwd : viteRoot , stdio : "inherit" } ) ;
88+ execSync ( "yarn install" , { cwd : rollupRoot , stdio : "inherit" } ) ;
8989 execSync ( "yarn rollup --config rollup.config.js" , {
90- cwd : viteRoot ,
90+ cwd : rollupRoot ,
9191 stdio : "inherit" ,
9292 env : { ...process . env , SENTRY_TEST_OVERRIDE_TEMP_DIR : tempDir } ,
9393 } ) ;
0 commit comments