Skip to content

Commit

Permalink
fix: goldens
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Mar 19, 2023
1 parent 419ae70 commit 0f4e303
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/zoe/test/unitTests/zcf/test-zcf.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@ test(`zcf.makeInvitation - no customDetails`, async t => {
handle: details.handle,
installation,
instance,
terms: {
brands: {},
issuers: {},
},
});
});

Expand All @@ -326,6 +330,10 @@ test(`zcf.makeInvitation - customDetails`, async t => {
handle: details.handle,
installation,
instance,
terms: {
brands: {},
issuers: {},
},
customDetails: {
timer,
whatever: 'whatever',
Expand All @@ -339,17 +347,29 @@ test(`zcf.makeInvitation - customDetails stratification`, async t => {
description: 'whatever',
installation: 'whatever',
instance: 'whatever',
terms: {
brands: {},
issuers: {},
},
});
const details = await E(zoe).getInvitationDetails(invitationP);
t.deepEqual(details, {
description: 'myInvitation',
handle: details.handle,
installation,
instance,
terms: {
brands: {},
issuers: {},
},
customDetails: {
description: 'whatever',
installation: 'whatever',
instance: 'whatever',
terms: {
brands: {},
issuers: {},
},
},
});
t.falsy(typeof details.handle === 'string');
Expand Down

0 comments on commit 0f4e303

Please sign in to comment.