You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
import{findGrouping}from"./findGrouping";describe("findGrouping",()=>{it("returns a grouping",()=>{constgroup=findGrouping(["apple","banana","aorange"]);expect(group).toMatchObject({FRUIT_a: ["apple","aorange"],FRUIT_b: ["banana"],});});});
When I run the test with @swc/jest as the transform. I get an error TypeError: _lodash is not a function. But when I run it with ts-jest as the transform I don't get any error and the test passes.