File tree Expand file tree Collapse file tree
basics/hello-solana/asm/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import {
2- PublicKey ,
3- Transaction ,
4- TransactionInstruction ,
5- } from "@solana/web3.js" ;
1+ import { PublicKey , Transaction , TransactionInstruction } from "@solana/web3.js" ;
62import { assert } from "chai" ;
7- import { ProgramTestContext , start } from "solana-bankrun" ;
3+ import { type ProgramTestContext , start } from "solana-bankrun" ;
84
95describe ( "hello-solana" , ( ) => {
106 const PROGRAM_ID = PublicKey . unique ( ) ;
117
128 // load program in solana-bankrun
139 let context : ProgramTestContext ;
1410 before ( async ( ) => {
15- context = await start (
16- [ { name : "hello-solana-asm-program" , programId : PROGRAM_ID } ] ,
17- [ ] ,
18- ) ;
11+ context = await start ( [ { name : "hello-solana-asm-program" , programId : PROGRAM_ID } ] , [ ] ) ;
1912 } ) ;
2013
2114 it ( "Say hello!" , async ( ) => {
You can’t perform that action at this time.
0 commit comments