Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade Ava to 6 #9081

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
test: Ava 6 compat
  • Loading branch information
turadg committed Dec 31, 2024
commit 13b52976e17b300a12226adc9f47b54922c50424
14 changes: 4 additions & 10 deletions packages/governance/test/unitTests/paramGovernance.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,16 +326,6 @@ test('change multiple params used invitation', async t => {
governorFacets.creatorFacet,
).voteOnParamChanges(installs.counter, 2n, paramChangesSpec);

outcomeOfUpdate
.then(o => t.fail(`update should break, ${o}`))
.catch(e =>
t.regex(
e.message,
/was not a live payment for brand/,
'Invitatation was burned and should not be usable',
),
);

const details = await detailsP;
const positive = details.positions[0];
await setUpVoterAndVote(
Expand All @@ -350,6 +340,10 @@ test('change multiple params used invitation', async t => {
await E(timer).tick();
await E(timer).tick();

await t.throwsAsync(outcomeOfUpdate, {
message: /Invitation passed to paramManager is not live/,
});

// no update2 because the value didn't change

const paramsAfter = await E(publicFacet).getGovernedParams();
Expand Down