Skip to content

Commit 253325c

Browse files
dckcgibson042
authored andcommitted
test: don't wait for Deposit plan when testing targetAllocation
1 parent cec1ea2 commit 253325c

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

packages/portfolio-contract/test/target-allocation.test.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,12 @@ test('multiple portfolios have independent allocations', async t => {
107107

108108
// Open portfolios with different allocations
109109
await Promise.all([
110-
trader1.openPortfolio(
111-
t,
112-
{ Deposit: usdc.units(5_000) },
113-
{ targetAllocation: allocation1 },
114-
),
110+
trader1.openPortfolio(t, {}, { targetAllocation: allocation1 }),
115111
ackNFA(common.utils, 0),
116112
]);
117113

118114
await Promise.all([
119-
trader2.openPortfolio(
120-
t,
121-
{ Deposit: usdc.units(7_000) },
122-
{ targetAllocation: allocation2 },
123-
),
115+
trader2.openPortfolio(t, {}, { targetAllocation: allocation2 }),
124116
ackNFA(common.utils, -1),
125117
]);
126118

0 commit comments

Comments
 (0)