flow-js-testing
flow-js-testing copied to clipboard
Testing framework to enable Cadence testing via a set of JavaScript methods and tools
### Problem Logs cut leading zeroes of addresses. (Related to https://github.com/onflow/flow-js-testing/issues/65#issuecomment-989876669). ### Steps to Reproduce `flow.json`: ```json { "accounts": { "emulator-account": { "address": "f8d6e0586b0a20c7", "key": "$PRIVATE_KEY" } }, "contracts": {},...
## Instructions - [ ] Create dependabot configuration file as described in [documentation](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/enabling-and-disabling-dependabot-version-updates#enabling-dependabot-version-updates) - [ ] Create workflow, which would update CLI version update and run tests ensuring framework is...
### Issue To Be Solved The testing library should enable users to not only test the features in the local emulator environment, but also in the TestNet environment. This would...
- Use existing `flow.json` file to resolve paths to contracts, transactions and private keys. - Provide a way to override default folder structure.
### Problem AddressMap object is not documented in docs/contracts.md ### Steps to Reproduce click on AddressMap link in https://docs.onflow.org/flow-js-testing/contracts/#deploycontractbynameprops would result in error 404 ### Definition of Done - document...
One easy way to mess up your emulator is to provide non-existing contract for deployment (for example, adding `.cdc` extension at the end) In your `flow.json`: ```json "deployments": { "emulator":...
Create methods and examples showcasing usage of FUSD contract.
Currently, there is a lot of boilerplate involved in order to deploy all the contracts, get the available methods and pass this into tests. This includes things like: ```jsx export...
Allow overriding defaultsByName either by explicitly setting the 0x00.. address in the import statement, by setting it to `from "DYNAMIC"`, or by modifying the defaultsByName map (now exported) Also including...