appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.95k stars 3.66k forks source link

Unit tests for widget configurations #5066

Open riodeuno opened 3 years ago

riodeuno commented 3 years ago

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.

somangshu commented 2 years ago

@aswathkk is this different from what you were going to work on?

@riodeuno kindly add a description to take this forward or lets just close it

aswathkk commented 2 years ago

@somangshu Title looks like same as #7678 Abhinav has to confirm.

aswathkk commented 2 years ago

@somangshu This is about Widget config. What I'm working on #7678 is the PropertyPane config.