absent-sapphire
absent-sapphire3mo ago

Hey, I've fixed an issue related react-

Hey, I've fixed an issue related react-hook-form. Now I need to write unit test for that fix. I am unable to run tests. Little confused between so many packages. Can anyone help me with that?
3 Replies
extended-salmon
extended-salmon3mo ago
hello @Mohit what error do you get? for example with this command you can run all tests for @refinedev/react-hook-form package pnpm test -- --scope @refinedev/react-hook-form
extended-salmon
extended-salmon3mo ago
ERROR  Unknown option: 'scope' Did you mean 'sort'? Use "--config.unknown=value" to force an unknown option. Getting this error after running given command
extended-salmon
extended-salmon3mo ago
Sorry, I need your environment to debug this error. Could you please check these steps again? https://refine.dev/docs/guides-concepts/contributing/#setting-up-your-environment-for-development
Contributing | Refine
We follow a code of conduct when participating in the community. Please read it before you make any contributions.

Did you find this page helpful?