-
Notifications
You must be signed in to change notification settings - Fork 33
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
OSS Support Grant: Milestone 2 - Add methods to inspect account storage #215
Conversation
🦋 Changeset detectedLatest commit: bfa97fd The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Dependency Testbed
Release VersionThe package containing these changes will be released with version 0.4.0 |
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success111 tests passing in 15 suites. Report generated by 🧪jest coverage report action from bfa97fd |
@MaxStalker I'm running the tests locally (with emulator running and |
@chasefleming you don't need to run emulator manually - running tests with And we have GitHub actions setup, which will run tests and report back on a PR - you can see comments from it slightly above. The error is probably related to new version of Flow CLI, similar to what was reported here: I will investigate what is happening 👀 |
@chasefleming I've added small change so it would properly catch logs on latest Flow CLI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests pass now, thanks!
Work in progress for #205
Description
This PR adds multiple new methods to query storage:
getPaths
- returning an object containing paths for public, private and storage domainsgetPathsWithType
- same as above, but with more detailed info about CapabilitiesgetStorageValue
- returning value at specified storage pathgetStorageStats
- used and storage capacity infoJest helpers added:
shallHavePath
- checks that account have path on specified domainshallHaveStorageValue
- checks that account have specific value storedDocumentation
Updated documentation:
Tests
All new methods are covered with tests.
Changeset:
Changeset for new minor version is included
For contributor use:
master
branchFiles changed
in the Github PR explorer