@@ -86,7 +86,7 @@ describe('Grid3 Path Discovery', () => {
8686 const mockCommonDocs = 'C:\\Users\\Public\\Documents' ;
8787 mockExecSync . mockReturnValue ( `Common Documents REG_SZ ${ mockCommonDocs } \r\n` as any ) ;
8888
89- const grid3BasePath = path . join ( mockCommonDocs , 'Smartbox' , 'Grid 3' , 'Users' ) ;
89+ const grid3BasePath = path . win32 . join ( mockCommonDocs , 'Smartbox' , 'Grid 3' , 'Users' ) ;
9090
9191 // Mock directory structure
9292 mockFs . existsSync . mockImplementation ( ( p : any ) => {
@@ -147,7 +147,7 @@ describe('Grid3 Path Discovery', () => {
147147 const mockCommonDocs = 'C:\\Users\\Public\\Documents' ;
148148 mockExecSync . mockReturnValue ( `Common Documents REG_SZ ${ mockCommonDocs } \r\n` as any ) ;
149149
150- const grid3BasePath = path . join ( mockCommonDocs , 'Smartbox' , 'Grid 3' , 'Users' ) ;
150+ const grid3BasePath = path . win32 . join ( mockCommonDocs , 'Smartbox' , 'Grid 3' , 'Users' ) ;
151151
152152 mockFs . existsSync . mockReturnValue ( true ) ;
153153 mockFs . readdirSync . mockImplementation ( ( p : any ) => {
@@ -168,7 +168,7 @@ describe('Grid3 Path Discovery', () => {
168168 describe ( 'findGrid3Vocabularies' , ( ) => {
169169 it ( 'should list gridset files per user' , ( ) => {
170170 const mockCommonDocs = 'C:\\Users\\Public\\Documents' ;
171- const grid3BasePath = path . join ( mockCommonDocs , 'Smartbox' , 'Grid 3' , 'Users' ) ;
171+ const grid3BasePath = path . win32 . join ( mockCommonDocs , 'Smartbox' , 'Grid 3' , 'Users' ) ;
172172 const gridSetsDir = path . join ( grid3BasePath , 'User1' , 'Grid Sets' ) ;
173173
174174 mockExecSync . mockReturnValue ( `Common Documents REG_SZ ${ mockCommonDocs } \r\n` as any ) ;
0 commit comments