UNPKG

@metamask/snaps-simulation

Version:

A simulation framework for MetaMask Snaps, enabling headless testing of Snaps in a controlled environment

15 lines (9 loc) 439 B
# @metamask/snaps-simulation A simulation framework for MetaMask Snaps, which runs in Node.js, and can be used to test Snaps in a headless environment. ## Installation Use Node.js `18.0.0` or later. We recommend using [nvm](https://github.com/nvm-sh/nvm) for managing Node.js versions. Install a dependency in your snap project using `yarn` or `npm`: - `npm install @metamask/snaps-simulation` - `yarn add @metamask/snaps-simulation`