@@ -45,8 +45,10 @@ describe('core-client-provider', () => {
45
45
} ) ;
46
46
} ) ;
47
47
48
+ // The better translation the CLI has, the more likely IDE2 won't be able to detect primary package and library index errors.
49
+ // Instead of running the test against all supported locales, IDE2 runs the tests with locales that result in a bug.
48
50
[ 'it' , 'de' ] . map ( ( [ locale ] ) =>
49
- it ( `should recover from the missing 'directories.data' independently from the CLI locale: '${ locale } '` , async function ( ) {
51
+ it ( `should recover when the 'directories.data' folder is missing independently from the CLI's locale ( '${ locale } ') ` , async function ( ) {
50
52
this . timeout ( timeout ) ;
51
53
const configDirPath = await prepareTestConfigDir ( { locale } ) ;
52
54
@@ -59,7 +61,7 @@ describe('core-client-provider', () => {
59
61
} )
60
62
) ;
61
63
62
- it ( "should recover all when the 'directories.data' folder is missing" , async function ( ) {
64
+ it ( "should recover when the 'directories.data' folder is missing" , async function ( ) {
63
65
this . timeout ( timeout ) ;
64
66
const configDirPath = await prepareTestConfigDir ( ) ;
65
67
deleteSync ( join ( configDirPath , 'data' ) ) ;
@@ -106,7 +108,12 @@ describe('core-client-provider', () => {
106
108
} ) ;
107
109
108
110
[ 'serial-discovery' , 'mdns-discovery' ] . map ( ( tool ) =>
109
- it ( `should recover the platform tools when the 'tools/${ tool } ' location is missing inside the 'directories.data/packages' folder` , async function ( ) {
111
+ it ( `should recover when the '${ join (
112
+ 'packages' ,
113
+ 'builtin' ,
114
+ 'tools' ,
115
+ tool
116
+ ) } ' folder is missing`, async function ( ) {
110
117
this . timeout ( timeout ) ;
111
118
const configDirPath = await prepareTestConfigDir ( ) ;
112
119
const builtinToolsPath = join (
0 commit comments