appsmithorg / appsmithorg/appsmith

Unit tests for widget configurations

Aperta
#5,066 3 commenti 0 reazioni 1 assegnatario Rivendicata da @aswathkk Vedi su GitHub
Task UI Building Product
Lingua principale
TypeScript
Stelle
40.9k
Fork
4.8k
Merge medio
1g 22h
PR unite (30g)
45

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.