Skip to content

Commit

Permalink
test(start1): show boardIDs in snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Jan 21, 2024
1 parent 6bc7f3d commit 0eda008
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contract/test/test-start1.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
import { mockWalletFactory } from './wallet-tools.js';
import { receiverRose, senderContract, starterSam } from './market-actors.js';
import { documentStorageSchema } from './storageDoc.js';
import { makeClientMarshaller } from '../src/marshalTables.js';

/** @typedef {import('../src/start-contractStarter.js').ContractStarterPowers} ContractStarterPowers */

Expand Down Expand Up @@ -96,7 +97,8 @@ test('use contractStarter to start postalSvc', async t => {
receiverRose(t, { wallet: wallet.rose }, wellKnown, { toSend }),
]);

const m = makeClientMarshaller();
const storage = await powers.consume.chainStorage;
const note = `Terms of contractStarter and the contracts it starts are published under boardAux`;
await documentStorageSchema(t, storage, { note });
await documentStorageSchema(t, storage, { note, marshaller: m });
});

0 comments on commit 0eda008

Please sign in to comment.