Skip to content

Commit 724d9ba

Browse files
committed
logging
1 parent 5163289 commit 724d9ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/TestCases.template.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const describeCases = config => {
165165
it(
166166
testName + " should compile",
167167
done => {
168-
process.stdout.write(`START ${category.name} ${testName}\n`);
168+
process.stdout.write(`START ${config.name} ${category.name} ${testName}\n`);
169169
const exportedTests = [];
170170
webpack(options, (err, stats) => {
171171
if (err) done(err);
@@ -251,10 +251,10 @@ const describeCases = config => {
251251
.getEnv()
252252
.execute([asyncSuite.id], asyncSuite)
253253
.then(() => {
254-
process.stdout.write(`SUCC ${category.name} ${testName}\n`);
254+
process.stdout.write(`SUCC ${config.name} ${category.name} ${testName}\n`);
255255
done();
256256
}, e => {
257-
process.stdout.write(`FAIL ${category.name} ${testName}\n`);
257+
process.stdout.write(`FAIL ${config.name} ${category.name} ${testName}\n`);
258258
done(e);
259259
});
260260
});

0 commit comments

Comments
 (0)