You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A response from the playground server contains a list of events. Each
event contains a message. The final playground output should be the
concatenation of all event messages. The existing playground
implementation sets the output text to each event message, so the final
output would be only the last event message. Fix this by appending event
messages to the output text. The existing tests do not test the
playground with a mock response containing multiple events. Change a
mock response to contain two events. All changes are automatic except
for playground.ts and playground.test.ts.
Fixesgolang/go#58476
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/soroushj/gosyphus@v1.0.0#example-package
What is your user agent?
Chrome 110 on Linux (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36)
Screenshot
What did you do?
Ran the first package example.
What did you expect to see?
This output:
What did you see instead?
This output:
The text was updated successfully, but these errors were encountered: