Files
019942cb-185b-7760-832e-eb6…/tests/voting-program.ts

16 lines
491 B
TypeScript
Raw Permalink Normal View History

2025-09-13 11:17:10 +00:00
import * as anchor from "@coral-xyz/anchor";
import { Program } from "@coral-xyz/anchor";
import { VotingProgram } from "../target/types/voting_program";
describe("voting-program", () => {
// Configure the client to use the local cluster.
const provider = anchor.AnchorProvider.env();
anchor.setProvider(provider);
const program = anchor.workspace.VotingProgram as Program<VotingProgram>;
it("Is initialized!", async () => {
// Students will write test cases here
});
});