14 lines
403 B
TypeScript
14 lines
403 B
TypeScript
import * as anchor from "@coral-xyz/anchor";
|
|
|
|
describe("typescript", () => {
|
|
// Configure the client to use the local cluster.
|
|
anchor.setProvider(anchor.AnchorProvider.env());
|
|
|
|
it("Is initialized!", async () => {
|
|
// Add your test here.
|
|
const program = anchor.workspace.Typescript;
|
|
const tx = await program.rpc.initialize();
|
|
console.log("Your transaction signature", tx);
|
|
});
|
|
});
|