mountain_view
mountain_view copied to clipboard
Is it possible to pass a yield in through a yml stub?
Heya, more feature requests :smile:
Is it possible to pass some sample yields in via the yml stub file? I've tried a bunch of things but I think yield is a protected keyword? Be great to be able to test things with arbitrary content.
Thanks!
Hi @kimadactyl This was something talked before, see #49 (merged) and #40 (pending)
Unfortunately, passing blocks in the stubs is kinda hard, as there's no simple way to serialize it in YAML. But you can use the meta
key in the stubs. Unfortunately it's not currently documented (but I'll add it soon!)—but you can see #27, or ask if any questions!
Let me know if that helps!