File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,13 @@ async function validate(args: string[]) {
111
111
// run test
112
112
console . info ( "Running setup test" ) ;
113
113
// expect fail
114
- // await runTest();
114
+ const { stdout, stderr } = await runTest ( ) ;
115
+ if ( stdout ) {
116
+ console . error (
117
+ `Expected ${ step . id } setup tests to fail, but passed`
118
+ ) ;
119
+ console . log ( stdout ) ;
120
+ }
115
121
}
116
122
117
123
if ( stepSolutionCommits ) {
@@ -129,7 +135,13 @@ async function validate(args: string[]) {
129
135
// run test
130
136
console . info ( "Running solution test" ) ;
131
137
// expect pass
132
- await runTest ( ) ;
138
+ const { stdout, stderr } = await runTest ( ) ;
139
+ if ( stderr ) {
140
+ console . error (
141
+ `Expected ${ step . id } solution tests to pass, but failed`
142
+ ) ;
143
+ console . log ( stderr ) ;
144
+ }
133
145
}
134
146
}
135
147
}
You can’t perform that action at this time.
0 commit comments