From cfb31764ad25561f437b9b35465540fd09c2013f Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Wed, 21 Feb 2024 18:07:59 -0600 Subject: [PATCH] style(test-postalSvc): lint --- contract/test/test-postalSvc.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contract/test/test-postalSvc.js b/contract/test/test-postalSvc.js index fb4c6d6f..912705e5 100644 --- a/contract/test/test-postalSvc.js +++ b/contract/test/test-postalSvc.js @@ -14,7 +14,7 @@ import { getBundleId, makeBundleCacheContext, } from './boot-tools.js'; -import { allValues, mapValues, mockWalletFactory } from './wallet-tools.js'; +import { mockWalletFactory } from './wallet-tools.js'; import { payerPete, receiverRex, @@ -22,7 +22,7 @@ import { senderContract, } from './market-actors.js'; -const { entries, fromEntries, keys } = Object; +const { entries } = Object; /** @type {import('ava').TestFn>>} */ const test = anyTest; @@ -46,10 +46,10 @@ test('deliver payment using offer', async t => { Item: makeIssuerKit('Item', AssetKind.SET), }; const { MNY, Item } = iKit; - entries(iKit).forEach(([name, kit]) => { + for (const [name, kit] of entries(iKit)) { powers.issuer.produce[name].resolve(kit.issuer); powers.brand.produce[name].resolve(kit.brand); - }); + } const bundleID = getBundleId(bundles.postalSvc); await startPostalSvc(powers, {