@@ -33,7 +33,7 @@ test("regex matchers are applied to stdout for non-zero exit code", async (t) =>
33
33
34
34
await t . throwsAsync ( exec . exec ( "node" , testArgs ) , {
35
35
instanceOf : Error ,
36
- message : "The process 'node' failed with exit code 1" ,
36
+ message : "The process '/usr/bin/ node' failed with exit code 1" ,
37
37
} ) ;
38
38
39
39
await t . throwsAsync ( toolrunnerErrorCatcher ( "node" , testArgs , matchers ) , {
@@ -56,7 +56,7 @@ test("regex matchers are applied to stderr for non-zero exit code", async (t) =>
56
56
57
57
await t . throwsAsync ( exec . exec ( "node" , testArgs ) , {
58
58
instanceOf : Error ,
59
- message : "The process 'node' failed with exit code 1" ,
59
+ message : "The process '/usr/bin/ node' failed with exit code 1" ,
60
60
} ) ;
61
61
62
62
await t . throwsAsync ( toolrunnerErrorCatcher ( "node" , testArgs , matchers ) , {
@@ -81,7 +81,7 @@ test("matcher returns correct error message when multiple matchers defined", asy
81
81
82
82
await t . throwsAsync ( exec . exec ( "node" , testArgs ) , {
83
83
instanceOf : Error ,
84
- message : "The process 'node' failed with exit code 1" ,
84
+ message : "The process '/usr/bin/ node' failed with exit code 1" ,
85
85
} ) ;
86
86
87
87
await t . throwsAsync ( toolrunnerErrorCatcher ( "node" , testArgs , matchers ) , {
@@ -106,7 +106,7 @@ test("matcher returns first match to regex when multiple matches", async (t) =>
106
106
107
107
await t . throwsAsync ( exec . exec ( "node" , testArgs ) , {
108
108
instanceOf : Error ,
109
- message : "The process 'node' failed with exit code 1" ,
109
+ message : "The process '/usr/bin/ node' failed with exit code 1" ,
110
110
} ) ;
111
111
112
112
await t . throwsAsync ( toolrunnerErrorCatcher ( "node" , testArgs , matchers ) , {
@@ -133,7 +133,7 @@ test("exit code matchers are applied", async (t) => {
133
133
134
134
await t . throwsAsync ( exec . exec ( "node" , testArgs ) , {
135
135
instanceOf : Error ,
136
- message : "The process 'node' failed with exit code 123" ,
136
+ message : "The process '/usr/bin/ node' failed with exit code 123" ,
137
137
} ) ;
138
138
139
139
await t . throwsAsync ( toolrunnerErrorCatcher ( "node" , testArgs , matchers ) , {
0 commit comments