Skip to content

Commit 20a5867

Browse files
authored
Merge pull request #119 from preactjs/karma-logss
Remove console.logs in karma.config.js
2 parents f1da96b + 1f293cd commit 20a5867

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

karma.conf.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,6 @@ function createEsbuildPlugin() {
157157
].filter(Boolean),
158158
});
159159
result = tmp.code || result;
160-
if (!args.path.includes(".pnpm")) {
161-
console.log(args.path);
162-
}
163-
if (/\/preact\//.test(args.path)) {
164-
// console.log("done", result);
165-
}
166160
cache.set(args.path, { input: contents, result });
167161

168162
// Fire all pending listeners that are waiting on the same
@@ -197,7 +191,6 @@ module.exports = function (config) {
197191
reporters: ["mocha"].concat(coverage ? "coverage" : []),
198192

199193
formatError(msg) {
200-
console.log("MSAG", msg);
201194
let stack = msg;
202195
// Karma prints error twice if it's an infinite loop
203196
if (/^\s*Uncaught/.test(msg)) {

0 commit comments

Comments
 (0)