Skip to content

Commit

Permalink
fixup! test: added more tests for each individual contract
Browse files Browse the repository at this point in the history
test: fixed lint issues
  • Loading branch information
frazarshad committed Oct 8, 2024
1 parent cba5d99 commit ffce1a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/boot/test/bootstrapTests/ec-replace-charter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
slotToBoardRemote,
unmarshalFromVstorage,
} from '@agoric/vats/tools/board-utils.js';
import { makeMarshal } from '@endo/marshal';
import { makeMarshal, passStyleOf } from '@endo/marshal';

import { makeSwingsetTestKit } from '../../tools/supports.js';
import {
Expand Down Expand Up @@ -374,6 +374,7 @@ test.serial('successful proposal and vote for psm', async t => {
})
.filter(instance => instance !== null);

await null;
for (const instance of psmInstances) {
const brand = instance.groups?.brand;
const instanceName = instance[0];
Expand Down Expand Up @@ -427,6 +428,7 @@ test.serial('successful proposal and vote for price feed', async t => {
},
);

await null;
for (const instanceName of priceFeedInstances) {
t.log('Proposing question using new charter invitation for', instanceName);
await governanceDriver.proposeApiCall(
Expand Down Expand Up @@ -468,6 +470,6 @@ test.serial('successful proposal and vote for price feed', async t => {

const oracleInvitationAfterProposal =
await governanceDriver.ecMembers[0].getOracleInvitation();
t.not(oracleInvitationAfterProposal, undefined);
t.is(passStyleOf(oracleInvitationAfterProposal), 'copyRecord');
}
});

0 comments on commit ffce1a7

Please sign in to comment.