@@ -20,6 +20,7 @@ describe('zipUtil', function () {
2020 const workspaceFolder = getTestWorkspaceFolder ( )
2121 const appRoot = join ( workspaceFolder , 'java11-plain-maven-sam-app' )
2222 const appCodePath = join ( appRoot , 'HelloWorldFunction' , 'src' , 'main' , 'java' , 'helloworld' , 'App.java' )
23+ const appCodePathWithRepeatedProjectName = join ( workspaceFolder , 'workspaceFolder' , 'App.java' )
2324
2425 describe ( 'getProjectPaths' , function ( ) {
2526 it ( 'Should return the correct project paths' , function ( ) {
@@ -115,7 +116,6 @@ describe('zipUtil', function () {
115116 } )
116117
117118 it ( 'should handle path with repeated project name for file scan' , async function ( ) {
118- const appCodePathWithRepeatedProjectName = join ( workspaceFolder , 'workspaceFolder' , 'App.java' )
119119 const zipMetadata = await zipUtil . generateZip (
120120 vscode . Uri . file ( appCodePathWithRepeatedProjectName ) ,
121121 CodeAnalysisScope . FILE_ON_DEMAND
@@ -128,7 +128,6 @@ describe('zipUtil', function () {
128128 } )
129129
130130 it ( 'should handle path with repeated project name for project scan' , async function ( ) {
131- const appCodePathWithRepeatedProjectName = join ( workspaceFolder , 'workspaceFolder' , 'App.java' )
132131 const zipMetadata = await zipUtil . generateZip (
133132 vscode . Uri . file ( appCodePathWithRepeatedProjectName ) ,
134133 CodeAnalysisScope . PROJECT
0 commit comments