Skip to content

Commit

Permalink
fix(codemod): supress log during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosCortizasCT committed Dec 23, 2024
1 parent ba0fa0e commit 545f3ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/codemod/test/transforms.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ describe.each`
const inputPath = path.join(fixturesPath, fixtureName);

beforeEach(() => {
jest.spyOn(console, 'log').mockImplementation();
switch (transformName) {
case 'rename-js-to-jsx':
if (!doesFileExist(inputPath)) {
Expand Down

0 comments on commit 545f3ae

Please sign in to comment.