Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render FormData content in console #3

Open
JakeUrban opened this issue May 26, 2021 · 0 comments
Open

Render FormData content in console #3

JakeUrban opened this issue May 26, 2021 · 0 comments
Assignees
Labels
anchor-tests Issues related to the @stellar/anchor-tests package

Comments

@JakeUrban
Copy link
Contributor

JakeUrban commented May 26, 2021

FormData objects do not provide a method for retrieving key-value pairs previously appended to them. .toString() does not work if binary data was appended, which is the only time FormData is used.

Its not immediately clear how we can render a string representation of the data encoded in the console when a test fails and the network calls are printed to the console.

https://github.com/form-data/form-data

@JakeUrban JakeUrban self-assigned this May 26, 2021
@JakeUrban JakeUrban changed the title Render FormData content in console Anchor Tests: Render FormData content in console May 27, 2021
@JakeUrban JakeUrban added the anchor-tests Issues related to the @stellar/anchor-tests package label May 27, 2021
@JakeUrban JakeUrban changed the title Anchor Tests: Render FormData content in console Render FormData content in console May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anchor-tests Issues related to the @stellar/anchor-tests package
Projects
None yet
Development

No branches or pull requests

1 participant