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

Refactor test to handle response with "files" key #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tripledoublev
Copy link
Contributor

list_files returns an object containing the array under the files key

this PR refactors the test to access the array via the proper key.

here is an example response from the test:
{"files": Array [Object {"hash": String("vrcirtfznqnjwuzxexbdcgxqarg6i3gjhkmdniyj6pyo5ii7l25a"), "is_downloaded": Bool(true), "name": String("example.txt")}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant