Skip to content

Commit

Permalink
fixup! test(boot): FastLP balance not in wallet record
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Dec 18, 2024
1 parent 2f7153c commit a5dff2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/boot/test/fast-usdc/fast-usdc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test.serial(
denom: 'ufastlp',
displayInfo: { assetKind: 'nat', decimalPlaces: 6 },
});
const lpId = lpAsset.brand.getBoardId();
const lpId = lpAsset.brand.getBoardId() || assert.fail('impossible');
t.is(agoricNamesRemotes.brand.FastLP.getBoardId(), lpId);

const { EV } = t.context.runUtils;
Expand All @@ -107,7 +107,7 @@ test.serial(
const getBoardAux = async name => {
const brand = await EV(agoricNames).lookup('brand', name);
const id = await EV(board).getId(brand);
t.is(id || null, lpId);
t.is(id, lpId);
t.truthy(storage.data.get(`published.boardAux.${id}`));
return unmarshalFromVstorage(
storage.data,
Expand Down

0 comments on commit a5dff2f

Please sign in to comment.