
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@onflow/flow-js-testing
Advanced tools
This package will expose a set of utility methods, to allow Cadence code testing with libraries like Jest
Test your Flow applications written in Cadence with ease
Read the docs
Report Bug
·
Contribute
·
Installation
This repository contains utility methods which, in conjunction with testing libraries like Jest
,
can be used to speed up your productivity while building Flow dapps with Cadence.
We are assuming you are using this framework under Node environment. You will need at least version 12.0.0
Most of the methods will not work, unless you have Flow Emulator running in the background. You can install it alongside Flow CLI. Please refer to Install Flow CLI for instructions.
If you have it already installed, run the flow init
in your terminal to create flow.json
config file in the root directory of your tests.
In order to use the emulator within your tests, please refer to the documentation.
Every Playground project has the ability to export
it's content as a set of files with Cadence template code and
basic test environment "out of the box".
If you want to use this functionality:
Playground will create a zip
file for you, which you can save wherever you like.
0.6.0
#237 eceb9d6
Thanks @jribbink! - Allow loading service key from environment variables and files.
BREAKING CHANGES
getConfigValue
and set
have been removed as these were just a confusing abstraction above the @onflow/config
packagesconfig
instance directly from the packageFAQs
This package will expose a set of utility methods, to allow Cadence code testing with libraries like Jest
The npm package @onflow/flow-js-testing receives a total of 270 weekly downloads. As such, @onflow/flow-js-testing popularity was classified as not popular.
We found that @onflow/flow-js-testing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.