Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
fjs-testing-fork
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.
FAQs
This package will expose a set of utility methods, to allow Cadence code testing with libraries like Jest
The npm package fjs-testing-fork receives a total of 2 weekly downloads. As such, fjs-testing-fork popularity was classified as not popular.
We found that fjs-testing-fork demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.