The contents of this repository have been moved to the MetaMask/snaps repository. This repository is no longer maintained.
The new test snaps page can be found here: https://metamask.github.io/snaps/test-snaps/latest.
A monorepo for Snaps used for QA and end-to-end tests, with an accompanying GitHub Pages website. Like MetaMask/test-dapp, but for Snaps.
Run yarn start
to serve the Snaps and the website.
Go to http://localhost:8080 to see the test app.
The website build script makes certain assumptions about the monorepo, its snaps, and the contents of the website. Specifically, it assumes that every other package in the packages/
directory is a valid snap, and that each snap has a snap.config.js
with cliOptions.port
set to a valid port number.
Finally, the website's index.html
must have each snap's local:
ID hardcoded of the form local:http://localhost:PORT
where PORT
is the port number from its snap.config.js
file. This allows the website build script to replace these values with the corresponding npm:
IDs for GitHub Pages deployments.