0.0.12 • Published 1 year ago

@lumina-dev/test v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@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.

0.0.10

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago