prismatic-io / spectral

Prismatic's typescript library for custom components
https://prismatic.io/docs/spectral/custom-component-library
35 stars 2 forks source link

Add component testing harness #54

Closed ryanwersal closed 2 years ago

ryanwersal commented 2 years ago

This wraps a Component definition and allows testing a Component by executing its actions and triggers in a more realistic fashion compared to the old more direct invoke and invokeTrigger testing functions.