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[]) {
111111 // run test
112112 console . info ( "Running setup test" ) ;
113113 // 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+ }
115121 }
116122
117123 if ( stepSolutionCommits ) {
@@ -129,7 +135,13 @@ async function validate(args: string[]) {
129135 // run test
130136 console . info ( "Running solution test" ) ;
131137 // 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+ }
133145 }
134146 }
135147 }
You can’t perform that action at this time.
0 commit comments