es-toolkit icon indicating copy to clipboard operation
es-toolkit copied to clipboard

🚚 Move test cases from `lodash` and validate `es-toolkit/compat`

Open raon0211 opened this issue 7 months ago • 2 comments

What is es-toolkit/compat?

es-toolkit/compat is a compatibility layer designed to help you transition from lodash to es-toolkit. It aims for 100% compatibility with lodash.

See our compatibility docs.

Moving test cases from lodash

We need your help to move test cases from lodash to es-toolkit. Here's how you can contribute:

  1. Find a function in the "in review" stage in our compatibility docs.
  2. Migrate the corresponding test code from lodash.
  3. Run the migrated test code with vitest ./src/compat/**/*.
  4. Fix any failing test cases.
    • Add compatibility implementations if needed.
    • Example: chunk.
  5. If all tests pass, update our compatibility docs.

raon0211 avatar Jul 18 '24 14:07 raon0211