@@ -73,7 +73,11 @@ suite('setup for no-config debug scenario', function () {
7373 if ( key === DEBUGPY_ADAPTER_ENDPOINTS ) {
7474 assert (
7575 value ===
76- path . join ( context . object . extensionPath , '.noConfigDebugAdapterEndpoints' , stableWorkspaceHash ) ,
76+ path . join (
77+ context . object . extensionPath ,
78+ '.noConfigDebugAdapterEndpoints' ,
79+ stableWorkspaceHash ,
80+ ) ,
7781 ) ;
7882 } else if ( key === BUNDLED_DEBUGPY_PATH ) {
7983 assert ( value === bundledDebugPath ) ;
@@ -284,13 +288,11 @@ suite('setup for no-config debug scenario', function () {
284288 const endpointFolderPath = path . join ( os . tmpdir ( ) , '.noConfigDebugAdapterEndpoints' , stableWorkspaceHash ) ;
285289 const fsExistsSyncStub = sinon . stub ( fs , 'existsSync' ) . callsFake ( ( p ) => p === endpointFolderPath ) ;
286290 const fakeDirent = { isFile : ( ) => true , name : Buffer . from ( 'old.txt' ) } as unknown as fs . Dirent < Buffer > ;
287- const fsReaddirSyncStub = sinon
288- . stub ( fs , 'readdirSync' )
289- . callsFake ( ( dirPath : fs . PathLike , options ?: any ) => {
290- assert ( dirPath === endpointFolderPath ) ;
291- assert ( options ?. withFileTypes === true ) ;
292- return [ fakeDirent ] as unknown as fs . Dirent < Buffer > [ ] ;
293- } ) ;
291+ const fsReaddirSyncStub = sinon . stub ( fs , 'readdirSync' ) . callsFake ( ( dirPath : fs . PathLike , options ?: any ) => {
292+ assert ( dirPath === endpointFolderPath ) ;
293+ assert ( options ?. withFileTypes === true ) ;
294+ return [ fakeDirent ] as unknown as fs . Dirent < Buffer > [ ] ;
295+ } ) ;
294296 const fsUnlinkSyncStub = sinon . stub ( fs , 'unlinkSync' ) ;
295297
296298 // Act
0 commit comments