Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Jul 3, 2024
1 parent 8aae4e3 commit 6412327
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/integration/grandExchange.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,19 @@ describe('Grand Exchange', async () => {
const commandPromises = new PQueue({ concurrency: 20 });
for (const user of shuffleArr(users)) {
commandPromises.add(async () => {
for (let i = 0; i < 5;i++) {
for (let i = 0; i < 5; i++) {
const method = randArrItem(['buy', 'sell']);
const quantity = randArrItem(quantities);
const price = randArrItem(prices);
for (const item of itemPool) {
await user.runCommand(geCommand, {
[method]: {
item,
quantity,
price
}
});
}
const quantity = randArrItem(quantities);
const price = randArrItem(prices);
for (const item of itemPool) {
await user.runCommand(geCommand, {
[method]: {
item,
quantity,
price
}
});
}
}
});
}
Expand Down

0 comments on commit 6412327

Please sign in to comment.