@@ -20,7 +20,7 @@ test('ify-loader', function (t) {
2020 spawn ( wpack , [
2121 input ,
2222 output ,
23- '--module-bind' , 'js=' + __dirname
23+ '--module-bind' , 'js=' + path . resolve ( __dirname )
2424 ] , {
2525 stdio : [ 'pipe' , 'pipe' , 2 ]
2626 } ) . once ( 'exit' , function ( ) {
@@ -53,7 +53,7 @@ test('relative transforms', function (t) {
5353 spawn ( wpack , [
5454 input ,
5555 output ,
56- '--module-bind' , 'js=' + __dirname
56+ '--module-bind' , 'js=' + path . resolve ( __dirname )
5757 ] , {
5858 stdio : [ 'pipe' , 'pipe' , 2 ]
5959 } ) . once ( 'exit' , function ( code ) {
@@ -76,7 +76,7 @@ test('error handling', function (t) {
7676 spawn ( wpack , [
7777 input ,
7878 output ,
79- '--module-bind' , 'js=' + __dirname
79+ '--module-bind' , 'js=' + path . resolve ( __dirname )
8080 ] , {
8181 stdio : [ 'pipe' , 'pipe' , 2 ]
8282 } ) . once ( 'exit' , function ( code ) {
@@ -101,7 +101,7 @@ test('glsl-transform', function (t) {
101101 } catch ( e ) { }
102102
103103 spawn ( wpack , [
104- '--module-bind' , 'js=' + __dirname ,
104+ '--module-bind' , 'js=' + path . resolve ( __dirname ) ,
105105 '--config' ,
106106 config
107107 ] , {
@@ -122,4 +122,3 @@ test('glsl-transform', function (t) {
122122 } )
123123 } )
124124} )
125-
0 commit comments