react-codemod icon indicating copy to clipboard operation
react-codemod copied to clipboard

fix: resolve TypeScript and Jest test issues in transform tests

Open amirabbas-gh opened this issue 11 months ago โ€ข 3 comments

๐Ÿ“š Description

This PR addresses multiple issues related to TypeScript errors, Jest test failures, and incorrect fixture names in transform tests. The main updates include:

  1. Fixed TypeScript errors related to require.requireActual in multiple transform tests
  2. Fixed Jest test failures in transform tests
  3. Updated jscodeshift to the latest version
  4. Fixed incorrect TypeScript test fixture names

These changes ensure that all affected tests run correctly without TypeScript or Jest errors.

๐Ÿ”— Linked Issue

๐Ÿงช Test Plan

  1. Updated jscodeshift and verified that all transforms still function correctly.
  2. Ran the full test suite to confirm all Jest and TypeScript errors are resolved.
  3. Checked that all fixture names are correctly aligned with test cases.

amirabbas-gh avatar Feb 01 '25 20:02 amirabbas-gh