From ffce1a754f7829f53a3e0a4022ca376af19888d7 Mon Sep 17 00:00:00 2001 From: Fraz Arshad Date: Tue, 8 Oct 2024 22:15:44 +0500 Subject: [PATCH] fixup! test: added more tests for each individual contract test: fixed lint issues --- .../boot/test/bootstrapTests/ec-replace-charter.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/boot/test/bootstrapTests/ec-replace-charter.test.ts b/packages/boot/test/bootstrapTests/ec-replace-charter.test.ts index eb83cc842de5..f0572bf7f172 100644 --- a/packages/boot/test/bootstrapTests/ec-replace-charter.test.ts +++ b/packages/boot/test/bootstrapTests/ec-replace-charter.test.ts @@ -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 { @@ -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]; @@ -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( @@ -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'); } });