Access to stdout/stderr ? #3002
-
|
Is there a way get I'd like to be able to validate that the console logs contain certain messages. For context I have to disabled TIA. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
stdoutandstderrfrom test workers are passed along to the AVA output. They both end up on eitherstdoutorstderr(I can't recall). AVA does not provide a direct mechanism for observing them from inside your tests. It should be possible to modify these output streams and intercept the output that way.