You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type 'import("/program-examples/basics/account-data/anchor/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/solana-bankrun/dist/index").ProgramTestContext'
is not assignable to parameter of type
'import("/program-examples/basics/account-data/anchor/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/solana-bankrun/dist/index").ProgramTestContext'.
Types have separate declarations of a private property 'inner'.
Steps to reproduce
import { BankrunProvider } from "anchor-bankrun";
import { PublicKey } from '@solana/web3.js';
import { it, describe } from "node:test"
const IDL = require("../target/idl/anchor_program_example.json");
const PROGRAM_ID = new PublicKey(IDL.address);
describe('Account Data!', async () => {
const context = await startAnchor("", [{name: "anchor_program_example", programId: PROGRAM_ID}], []);
const provider = new BankrunProvider(context);
^^^^^^
error here
Error:
Steps to reproduce
The text was updated successfully, but these errors were encountered: