Skip to content

Unit tests for widget configurations #5066

Open
@riodeuno

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.

Metadata

Assignees

Labels

TaskA simple TodoUI Building ProductIssues related to the UI Building experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions