How to test abort in remap? #9574
-
Hi guys, I have something like that in my transformer. How to write unit test for else branch? I need to test abort case |
Beta Was this translation helpful? Give feedback.
Answered by
spencergilbert
Oct 12, 2021
Replies: 1 comment 1 reply
-
Hi @kozliuk you can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kozliuk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @kozliuk you can use
no_outputs_from
- see an example here: https://github.com/vectordotdev/vector/blob/master/tests/behavior/transforms/route.toml#L25