@@ -10,10 +10,10 @@ import { codeExtensionPath, rootPath, outPath } from './projectPaths';
10
10
import spawnNode from './spawnNode' ;
11
11
import * as jest from 'jest' ;
12
12
import { Config } from '@jest/types' ;
13
- import { jestOmniSharpUnitTestProjectName } from '../omnisharptest /omnisharpUnitTests/jest.config' ;
14
- import { jestUnitTestProjectName } from '../test/unitTests/jest.config' ;
15
- import { razorTestProjectName } from '../test/razorTests/jest.config' ;
16
- import { jestArtifactTestsProjectName } from '../test/artifactTests/jest.config' ;
13
+ import { jestOmniSharpUnitTestProjectName } from '../test/omnisharp /omnisharpUnitTests/jest.config' ;
14
+ import { jestUnitTestProjectName } from '../test/lsptoolshost/ unitTests/jest.config' ;
15
+ import { razorTestProjectName } from '../test/razor/ razorTests/jest.config' ;
16
+ import { jestArtifactTestsProjectName } from '../test/lsptoolshost/ artifactTests/jest.config' ;
17
17
18
18
gulp . task ( 'test:razor' , async ( ) => {
19
19
runJestTest ( razorTestProjectName ) ;
@@ -22,7 +22,11 @@ gulp.task('test:razor', async () => {
22
22
const razorIntegrationTestProjects = [ 'BasicRazorApp2_1' ] ;
23
23
for ( const projectName of razorIntegrationTestProjects ) {
24
24
gulp . task ( `test:razorintegration:${ projectName } ` , async ( ) =>
25
- runIntegrationTest ( projectName , 'razorIntegrationTests' , `Razor Test Integration ${ projectName } ` )
25
+ runIntegrationTest (
26
+ projectName ,
27
+ path . join ( 'razor' , 'razorIntegrationTests' ) ,
28
+ `Razor Test Integration ${ projectName } `
29
+ )
26
30
) ;
27
31
}
28
32
@@ -76,7 +80,11 @@ gulp.task('test:unit', async () => {
76
80
const integrationTestProjects = [ 'slnWithCsproj' ] ;
77
81
for ( const projectName of integrationTestProjects ) {
78
82
gulp . task ( `test:integration:${ projectName } ` , async ( ) =>
79
- runIntegrationTest ( projectName , 'integrationTests' , `Test Integration ${ projectName } ` )
83
+ runIntegrationTest (
84
+ projectName ,
85
+ path . join ( 'lsptoolshost' , 'integrationTests' ) ,
86
+ `Test Integration ${ projectName } `
87
+ )
80
88
) ;
81
89
}
82
90
@@ -89,7 +97,7 @@ gulp.task('test', gulp.series('test:unit', 'test:integration', 'test:razor', 'te
89
97
90
98
async function runOmnisharpJestIntegrationTest ( testAssetName : string , engine : 'stdio' | 'lsp' , suiteName : string ) {
91
99
const workspaceFile = `omnisharp${ engine === 'lsp' ? '_lsp' : '' } _${ testAssetName } .code-workspace` ;
92
- const testFolder = path . join ( 'omnisharptest ' , 'omnisharpIntegrationTests' ) ;
100
+ const testFolder = path . join ( 'test' , 'omnisharp ', 'omnisharpIntegrationTests' ) ;
93
101
94
102
const env = {
95
103
OSVC_SUITE : testAssetName ,
0 commit comments