Skip to content

Commit

Permalink
test: lint and types fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Aug 16, 2023
1 parent bcf360c commit 825c0d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions packages/boot/test/bootstrapTests/liquidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ export const makeLiquidationTestContext = async t => {

// has to be late enough for agoricNames data to have been published
/** @type {import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes} */
const agoricNamesRemotes = {};
const agoricNamesRemotes = makeAgoricNamesRemotesFromFakeStorage(
swingsetTestKit.storage,
);
const refreshAgoricNamesRemotes = () => {
Object.assign(
agoricNamesRemotes,
makeAgoricNamesRemotesFromFakeStorage(swingsetTestKit.storage),
);
};
refreshAgoricNamesRemotes();
agoricNamesRemotes.brand.ATOM || Fail`ATOM missing from agoricNames`;
console.timeLog('DefaultTestContext', 'agoricNamesRemotes');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ test('exit bid', async t => {
giveCollateral: 9.0,
});

wd.sendOfferMaker(Offers.auction.Bid, {
await wd.sendOfferMaker(Offers.auction.Bid, {
offerId: 'bid',
maxBuy: '1.23ATOM',
give: '0.1IST',
Expand Down
2 changes: 1 addition & 1 deletion packages/boot/test/bootstrapTests/test-zcf-upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ test('run restart-vats proposal', async t => {
await buildAndExecuteProposal(zcfPackageSpec);

t.log('upgrade zoe&zcf proposal executed');
zoeDriver.upgradeProbe(zcfProbeBundle);
await zoeDriver.upgradeProbe(zcfProbeBundle);
const nextDucats = beforeResult.leftoverPayments.Ducats;
const nextAmount = await EV(issuer).getAmountOf(nextDucats);

Expand Down

0 comments on commit 825c0d5

Please sign in to comment.