shouldRun.ts 628 B

1234567891011121314151617
  1. import * as anchor from "@project-serum/anchor";
  2. import { Program } from "@project-serum/anchor";
  3. import { assert } from "chai";
  4. import { MultipleSuitesRunSingle } from "../../target/types/multiple_suites_run_single";
  5. describe("multiple-suites-run-single", () => {
  6. // Configure the client to use the local cluster.
  7. anchor.setProvider(anchor.AnchorProvider.env());
  8. const program = anchor.workspace
  9. .MultipleSuitesRunSingle as Program<MultipleSuitesRunSingle>;
  10. it("Is initialized!", async () => {
  11. const tx = await program.methods.initialize().rpc();
  12. console.log("Your transaction signature", tx);
  13. });
  14. });