0.0.12 • Published 1 year ago
@lumina-dev/test v0.0.12
@lumina-dev/test
A single-line utility for spinning up an interactive Lumina explorer for your Solana application tests.
Installation
npm install @lumina-dev/test
Usage
Modify your test file to call the lumina
function exported by this package.
import * as anchor from '@coral-xyz/anchor';
import lumina from '@lumina-dev/test';
// Add this to the top of your test file
lumina();
describe('my-anchor-test', () => {
anchor.setProvider(anchor.AnchorProvider.env());
const program = anchor.workspace.MyProgram;
// ...
});
When running your tests, navigate link in the console to view debug info.
⬜ Lumina: View local debug info at https://lumina.fyi/debug
A new tab will open with an interactive explorer for your local test environment.
Community
Join the Lumina Discord to chat with the community and team.