microsoft / nova-facade

Runtime support for the. JS Nova pattern, which allows sharing of High-Value-Components across M365
MIT License
20 stars 26 forks source link

Data generation doesn't work in the decorator from @nova/react-test-utils when used with client extensions #125

Open sjwilczynski opened 1 month ago

sjwilczynski commented 1 month ago

Here is repro https://github.com/jakobkhansen/nova-facade/tree/user/jakobhansen/clientextension_repro.

The current workaround is to change generateFunction to use Relay's mock payload generator but long term we want to rely on graphitations one fully

sjwilczynski commented 3 weeks ago

Added proper readme entry and example of a workaround in #127