Skip to content

Commit

Permalink
test: suppress console.log in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed May 29, 2021
1 parent f079cb6 commit 4eb688e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ const tests = ["basic-case", "multiple-exports"];

describe("module-exports-to-export-default", () => {
tests.forEach((test) => {
defineTest(__dirname, "module-exports-to-export-default", null, `module-exports-to-export-default/${test}`);
defineTest(__dirname, "module-exports-to-export-default", {
silent: true
}, `module-exports-to-export-default/${test}`);
});
});
6 changes: 4 additions & 2 deletions transforms/__tests__/require-to-import-default-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const tests = [

describe("require-to-import-default", () => {
tests.forEach((test) => {
defineTest(__dirname, "require-to-import-default", null, `require-to-import-default/${test}`);
defineTest(__dirname, "require-to-import-default", {
silent: true
}, `require-to-import-default/${test}`);
});
});
});

0 comments on commit 4eb688e

Please sign in to comment.