generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 249
Closed
Description
Hi there!
I noticed today that the following line is possible in test-results.json
within a Dart unit test results output:
{"testID":1,"messageType":"print","message":"Consider enabling the flag chain-stack-traces to receive more detailed exceptions.\nFor example, 'pub run test --chain-stack-traces'.","type":"print","time":65561}
The presence of this line - specifically - a line with "messageType":"print"
causes this action to throw:
Error: Cannot read property 'print' of undefined
In this case, I was able to overcome the issue by enabling the chain-stack-traces
flag in my test command - but I would imagine that this same error will occur if a user places a print()
statement within a test.
Metadata
Metadata
Assignees
Labels
No labels