Skip to content

Commit ea3f57a

Browse files
committed
logging
1 parent 51b1fe5 commit ea3f57a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/TestCases.template.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ const describeCases = config => {
165165
it(
166166
testName + " should compile",
167167
done => {
168+
process.stdout.write(`START ${category.name} ${testName}`);
168169
const exportedTests = [];
169170
webpack(options, (err, stats) => {
170171
if (err) done(err);
@@ -249,7 +250,13 @@ const describeCases = config => {
249250
jasmine
250251
.getEnv()
251252
.execute([asyncSuite.id], asyncSuite)
252-
.then(done, done);
253+
.then(() => {
254+
process.stdout.write(`SUCC ${category.name} ${testName}`);
255+
done();
256+
}, e => {
257+
process.stdout.write(`FAIL ${category.name} ${testName}`);
258+
done(e);
259+
});
253260
});
254261
},
255262
60000

0 commit comments

Comments
 (0)