diff --git a/tests/proposals/ccip025-extend-sunset-period-3.test.ts b/tests/proposals/ccip025-extend-sunset-period-3.test.ts index 459b111..8533815 100644 --- a/tests/proposals/ccip025-extend-sunset-period-3.test.ts +++ b/tests/proposals/ccip025-extend-sunset-period-3.test.ts @@ -322,6 +322,24 @@ Clarinet.test({ }, }); +Clarinet.test({ + name: "ccip-025: get-vote-period returns none before vote concludes", + fn(chain: Chain, accounts: Map) { + // arrange + const sender = accounts.get("deployer")!; + const ccip025 = new CCIP025ExtendDirectExecuteSunsetPeriod(chain, sender); + + // initialize contracts + constructAndPassProposal(chain, accounts, PROPOSALS.TEST_CCIP025_EXTEND_SUNSET_PERIOD_3_001); + + // act + const votePeriod = ccip025.getVotePeriod().result; + + // assert + votePeriod.expectNone(); + }, +}); + Clarinet.test({ name: "ccip-025: read-only functions return expected values", fn(chain: Chain, accounts: Map) {