@@ -112,9 +112,9 @@ suite('Data Science - ipywidget - Local Widget Script Source', () => {
112
112
metadata : { interpreter : { sysPrefix, path : 'pythonPath' } }
113
113
} as any ) ;
114
114
when ( fs . search ( anything ( ) , anything ( ) ) ) . thenResolve ( [
115
- 'widget1/ index.js' ,
116
- 'widget2/ index.js' ,
117
- 'widget3/ index.js'
115
+ path . join ( 'widget1' , ' index.js') ,
116
+ path . join ( 'widget2' , ' index.js') ,
117
+ path . join ( 'widget3' , ' index.js')
118
118
] ) ;
119
119
120
120
const value = await scriptSourceProvider . getWidgetScriptSource ( 'widget2' , '1' ) ;
@@ -138,9 +138,9 @@ suite('Data Science - ipywidget - Local Widget Script Source', () => {
138
138
metadata : { interpreter : { sysPrefix, path : 'pythonPath' } }
139
139
} as any ) ;
140
140
when ( fs . search ( anything ( ) , anything ( ) ) ) . thenResolve ( [
141
- 'widget1/ index.js' ,
142
- 'widget2/ index.js' ,
143
- 'widget3/ index.js'
141
+ path . join ( 'widget1' , ' index.js') ,
142
+ path . join ( 'widget2' , ' index.js') ,
143
+ path . join ( 'widget3' , ' index.js')
144
144
] ) ;
145
145
146
146
const value = await scriptSourceProvider . getWidgetScriptSource ( 'widget1' , '1' ) ;
@@ -162,9 +162,9 @@ suite('Data Science - ipywidget - Local Widget Script Source', () => {
162
162
metadata : { interpreter : { sysPrefix, path : 'pythonPath' } }
163
163
} as any ) ;
164
164
when ( fs . search ( anything ( ) , anything ( ) ) ) . thenResolve ( [
165
- 'widget1/ index.js' ,
166
- 'widget2/ index.js' ,
167
- 'widget3/ index.js'
165
+ path . join ( 'widget1' , ' index.js') ,
166
+ path . join ( 'widget2' , ' index.js') ,
167
+ path . join ( 'widget3' , ' index.js')
168
168
] ) ;
169
169
170
170
const value = await scriptSourceProvider . getWidgetScriptSource ( 'widgetNotFound' , '1' ) ;
0 commit comments