Open
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.