Files
solana-voting-program/tests/voting-program.ts
2025-09-06 07:59:43 +00:00

16 lines
491 B
TypeScript

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
});
});