We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e42f1 commit abd46f1Copy full SHA for abd46f1
src/validate.ts
@@ -111,7 +111,13 @@ async function validate(args: string[]) {
111
// run test
112
console.info("Running setup test");
113
// expect fail
114
- // await runTest();
+ 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
+ }
121
}
122
123
if (stepSolutionCommits) {
@@ -129,7 +135,13 @@ async function validate(args: string[]) {
129
135
130
136
console.info("Running solution test");
131
137
// expect pass
132
- await runTest();
138
139
+ if (stderr) {
140
141
+ `Expected ${step.id} solution tests to pass, but failed`
142
143
+ console.log(stderr);
144
133
145
134
146
147
0 commit comments