Initial commit

This commit is contained in:
stackclass
2025-09-07 10:51:18 +00:00
commit 39acad2d76
17 changed files with 2181 additions and 0 deletions

15
tests/voting-program.ts Normal file
View File

@@ -0,0 +1,15 @@
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
});
});