Skip to content

Commit 908b465

Browse files
committed
remove spammy output in CI
1 parent 4229a95 commit 908b465

File tree

4 files changed

+0
-33
lines changed

4 files changed

+0
-33
lines changed

test/ConfigTestCases.test.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ describe("ConfigTestCases", () => {
102102
// ignored
103103
}
104104

105-
const compilationName = `config/${category.name}/${testName}`;
106-
if (process.env.CI) {
107-
process.stderr.write(`[COMPILING] ${compilationName}\n`);
108-
}
109105
webpack(options, (err, stats) => {
110106
if (err) {
111107
const fakeStats = {
@@ -124,9 +120,6 @@ describe("ConfigTestCases", () => {
124120
// Wait for uncaught errors to occur
125121
return setTimeout(done, 200);
126122
}
127-
if (process.env.CI) {
128-
process.stderr.write(`[COMPILED] ${compilationName}\n`);
129-
}
130123
const statOptions = Stats.presetToOptions("verbose");
131124
statOptions.colors = false;
132125
mkdirp.sync(outputDirectory);

test/HotTestCases.test.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,8 @@ describe("HotTestCases", () => {
7878
);
7979
if (!options.recordsPath) options.recordsPath = recordsPath;
8080
const compiler = webpack(options);
81-
const compilationName = `HotTestCases/${
82-
category.name
83-
}/${testName}`;
84-
if (process.env.CI) {
85-
process.stderr.write(`[COMPILING] ${compilationName}\n`);
86-
}
8781
compiler.run((err, stats) => {
8882
if (err) return done(err);
89-
if (process.env.CI) {
90-
process.stderr.write(`[COMPILED] ${compilationName}\n`);
91-
}
9283
const jsonStats = stats.toJson({
9384
errorDetails: true
9485
});

test/TestCases.template.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,8 @@ const describeCases = config => {
164164
it(
165165
testName + " should compile",
166166
done => {
167-
const compilationName = `${config.name}/${
168-
category.name
169-
}/${testName}`;
170-
if (process.env.CI) {
171-
process.stderr.write(`[COMPILING] ${compilationName}\n`);
172-
}
173167
webpack(options, (err, stats) => {
174168
if (err) done(err);
175-
if (process.env.CI) {
176-
process.stderr.write(`[COMPILED] ${compilationName}\n`);
177-
}
178169
const statOptions = Stats.presetToOptions("verbose");
179170
statOptions.colors = false;
180171
mkdirp.sync(outputDirectory);

test/WatchTestCases.test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,6 @@ describe("WatchTestCases", () => {
123123
currentWatchStepModule.step = run.name;
124124
copyDiff(path.join(testDirectory, run.name), tempDirectory);
125125

126-
const compilationName = `watch/${category.name}/${testName}`;
127-
if (process.env.CI) {
128-
process.stderr.write(`[COMPILING] ${compilationName}\n`);
129-
}
130-
131126
setTimeout(() => {
132127
const compiler = webpack(options);
133128
compiler.hooks.invalid.tap(
@@ -164,9 +159,6 @@ describe("WatchTestCases", () => {
164159
if (waitMode) return;
165160
run.done = true;
166161
if (err) return done(err);
167-
if (process.env.CI) {
168-
process.stderr.write(`[COMPILED] ${compilationName}\n`);
169-
}
170162
const statOptions = Stats.presetToOptions("verbose");
171163
statOptions.colors = false;
172164
mkdirp.sync(outputDirectory);

0 commit comments

Comments
 (0)