Skip to content

Commit

Permalink
test: accomodate types
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Apr 30, 2024
1 parent 6f94b6f commit 1d6fa1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zoe/test/swingsetTests/runMint/vat-alice.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const build = async (log, zoe, installations, feeMintAccess) => {
const { instance } = await E(zoe).startInstance(
installations.offerArgsUsageContract,
harden({
RUN: E(zoe).getFeeIssuer(),
RUN: await E(zoe).getFeeIssuer(),
}),
undefined,
);
Expand Down
2 changes: 2 additions & 0 deletions packages/zoe/test/unitTests/test-zoe-startInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ test('terms, issuerKeywordRecord switched', async t => {
() =>
E(zoe).startInstance(
installation,
// @ts-expect-error intentional error
{ something: 2 },
{ Moola: moolaKit.issuer },
),
Expand All @@ -121,6 +122,7 @@ test('bad issuer, makeEmptyPurse throws', async t => {
getBrand: () => brand,
});
await t.throwsAsync(
// @ts-expect-error intentional error
() => E(zoe).startInstance(installation, { Money: badIssuer }),
{
message:
Expand Down

0 comments on commit 1d6fa1a

Please sign in to comment.