@@ -20,7 +20,7 @@ test('ify-loader', function (t) {
20
20
spawn ( wpack , [
21
21
input ,
22
22
output ,
23
- '--module-bind' , 'js=' + __dirname
23
+ '--module-bind' , 'js=' + path . resolve ( __dirname )
24
24
] , {
25
25
stdio : [ 'pipe' , 'pipe' , 2 ]
26
26
} ) . once ( 'exit' , function ( ) {
@@ -53,7 +53,7 @@ test('relative transforms', function (t) {
53
53
spawn ( wpack , [
54
54
input ,
55
55
output ,
56
- '--module-bind' , 'js=' + __dirname
56
+ '--module-bind' , 'js=' + path . resolve ( __dirname )
57
57
] , {
58
58
stdio : [ 'pipe' , 'pipe' , 2 ]
59
59
} ) . once ( 'exit' , function ( code ) {
@@ -76,7 +76,7 @@ test('error handling', function (t) {
76
76
spawn ( wpack , [
77
77
input ,
78
78
output ,
79
- '--module-bind' , 'js=' + __dirname
79
+ '--module-bind' , 'js=' + path . resolve ( __dirname )
80
80
] , {
81
81
stdio : [ 'pipe' , 'pipe' , 2 ]
82
82
} ) . once ( 'exit' , function ( code ) {
@@ -101,7 +101,7 @@ test('glsl-transform', function (t) {
101
101
} catch ( e ) { }
102
102
103
103
spawn ( wpack , [
104
- '--module-bind' , 'js=' + __dirname ,
104
+ '--module-bind' , 'js=' + path . resolve ( __dirname ) ,
105
105
'--config' ,
106
106
config
107
107
] , {
@@ -122,4 +122,3 @@ test('glsl-transform', function (t) {
122
122
} )
123
123
} )
124
124
} )
125
-
0 commit comments