Skip to content

Commit

Permalink
test: Check allocations after upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
iomekam committed Nov 19, 2024
1 parent 23e127e commit c267011
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ export const buildRootObject = async () => {

metricsRecord = await E(metrics).getUpdateSince();

// verify allocations
const allocations = await E(arLimitedFacet).getAllocations();
assert.equal(allocations.Moola.value, moola.make(100_000n).value);
assert.equal(allocations.Moola.brand, moola.make(100_000n).brand);

// same as last
assert.equal(metricsRecord.updateCount, 2n);

Expand Down

0 comments on commit c267011

Please sign in to comment.