flow-js-testing
flow-js-testing copied to clipboard
Testing framework to enable Cadence testing via a set of JavaScript methods and tools
### Instructions `access(all)` keyword is not supported for `executeScript` if that script goes with parameters ### Problem when using `executeScript`, if that script is defined by `pub fun main(*/ params...
### Problem Using flow-js-testing with newer versions of flow-cli throws undefined error. cc: @MaxStalker ### Steps to Reproduce Here's where I'm seeing an issue: Codebase: [onflow/flow-ft](https://github.com/onflow/flow-ft) flow-js-testing version: 0.4.0 flow-cli...
### Problem when deploying contracts which have `init` params with `deployContract` or `deployContractByName` it will throws `Error: Type Error: type is not a string` if the params are multiple-line like...
### Problem When I follow the `flow-js-testing` installation instructions on https://developers.flow.com/tools/flow-js-testing/install I'm installing version `0.3.0-alpha.15` The next step `npx flow-js-testing init` then fails with `Error: Cannot find module '@onflow/flow-cadut/generator'` ###...
This issue will track the progress for this grant application: https://github.com/onflow/developer-grants/issues/138 ## Milestones ### 1.New Stable Release Status: ✅ **Done** PR: **[Milestone 1 - Dependency Updated](https://github.com/onflow/flow-js-testing/pull/207)** Release: https://www.npmjs.com/package/@onflow/flow-js-testing/v/0.4.0 Discord: https://discord.com/channels/613813861610684416/621847426201944074/1088371283064004648...
Work in progress for #205 ## Description This PR add new scheduled workflow to check Flow CLI and JS Testing compatibility. ## Workflow Process - Install latest version of Flow...
Missing 'amount' argument in mintFlow Usage Closes #??? ## Description --- For contributor use: - [x] Targeted PR against `master` branch - [ ] Linked to Github issue with discussion...
Closes #202 ## Description Updates the `sendTransaction` of the docs to give a more detailed view on the result object that can be captured from the tx execution, giving some...
### Issue To Be Solved Checking the data emitted by an event is possible using the js testing framework but is not showcased on the docs ### Suggest A Solution...
### Instructions To reduce disk size of the npm package we need to create a .npmignore. ### Problem Right now we are including all the things in the npm package...