appsmithorg / appsmithorg/appsmith
Unit tests for widget configurations
- Dominant language
- TypeScript
- Stars
- 40.9k
- Forks
- 4.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 45
Description
Each widget folder contains the `index.ts` file, which has a CONFIG object. This object defines the defaults and some other values which helps integrate a widget into the Appsmith platform. We need to add unit tests to test the integrity of configuration of all the widgets being registered in the platform.
This will make sure that widget developers get the relevant feedback from the tests if any of the mandatory configurations are missing.
- [ ] Check for name
- [ ] Check for icon
- [ ] Check for sniping
- [ ] Check for `properties`
- [ ] Check for default props
- [ ] Check for type
- [ ] Any other configurations which are required and common among all widgets.
Contributor guide
Assessment
This issue has not been assessed yet.