Skip to content

Commit

Permalink
fix(swingset-runner): update tests copied from zoe
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed Feb 25, 2022
1 parent 1f37cec commit bf37d71
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
8 changes: 3 additions & 5 deletions packages/swingset-runner/demo/exchangeBenchmark/vat-zoe.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ export function buildRootObject(vatPowers, vatParameters) {
return Far('root', {
buildZoe: vatAdminSvc => {
const shutdownZoeVat = vatPowers.exitVatWithFailure;
const { zoeService: zoe } = makeZoeKit(
vatAdminSvc,
shutdownZoeVat,
vatParameters.zcfBundleName,
);
const { zoeService: zoe } = makeZoeKit(vatAdminSvc, shutdownZoeVat, {
name: vatParameters.zcfBundleName,
});
return zoe;
},
});
Expand Down
8 changes: 3 additions & 5 deletions packages/swingset-runner/demo/swapBenchmark/vat-zoe.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ export function buildRootObject(vatPowers, vatParameters) {
return Far('root', {
buildZoe: vatAdminSvc => {
const shutdownZoeVat = vatPowers.exitVatWithFailure;
const { zoeService: zoe } = makeZoeKit(
vatAdminSvc,
shutdownZoeVat,
vatParameters.zcfBundleName,
);
const { zoeService: zoe } = makeZoeKit(vatAdminSvc, shutdownZoeVat, {
name: vatParameters.zcfBundleName,
});
return zoe;
},
});
Expand Down
8 changes: 3 additions & 5 deletions packages/swingset-runner/demo/zoeTests/vat-zoe.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ export function buildRootObject(vatPowers, vatParameters) {
return Far('root', {
buildZoe: vatAdminSvc => {
const shutdownZoeVat = vatPowers.exitVatWithFailure;
const { zoeService: zoe } = makeZoeKit(
vatAdminSvc,
shutdownZoeVat,
vatParameters.zcfBundleName,
);
const { zoeService: zoe } = makeZoeKit(vatAdminSvc, shutdownZoeVat, {
name: vatParameters.zcfBundleName,
});
return zoe;
},
});
Expand Down

0 comments on commit bf37d71

Please sign in to comment.