Skip to content

Commit 20a5304

Browse files
committed
Lint nits
1 parent 671c19a commit 20a5304

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

src/commands/optimize/cmd-optimize.test.mts

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,13 @@ describe('socket optimize', async () => {
352352
async cmd => {
353353
const tempDir = await createTempFixture(pnpmFixtureDir)
354354
try {
355-
const { code, stderr, stdout } = await spawnSocketCli(binCliPath, cmd, {
356-
cwd: tempDir,
357-
})
355+
const { code, stderr, stdout } = await spawnSocketCli(
356+
binCliPath,
357+
cmd,
358+
{
359+
cwd: tempDir,
360+
},
361+
)
358362

359363
expect(code).toBe(0)
360364

@@ -383,9 +387,13 @@ describe('socket optimize', async () => {
383387
async cmd => {
384388
const tempDir = await createTempFixture(pnpmFixtureDir)
385389
try {
386-
const { code, stderr, stdout } = await spawnSocketCli(binCliPath, cmd, {
387-
cwd: tempDir,
388-
})
390+
const { code, stderr, stdout } = await spawnSocketCli(
391+
binCliPath,
392+
cmd,
393+
{
394+
cwd: tempDir,
395+
},
396+
)
389397

390398
expect(code).toBe(0)
391399

@@ -414,9 +422,13 @@ describe('socket optimize', async () => {
414422
async cmd => {
415423
const tempDir = await createTempFixture(pnpmFixtureDir)
416424
try {
417-
const { code, stderr, stdout } = await spawnSocketCli(binCliPath, cmd, {
418-
cwd: tempDir,
419-
})
425+
const { code, stderr, stdout } = await spawnSocketCli(
426+
binCliPath,
427+
cmd,
428+
{
429+
cwd: tempDir,
430+
},
431+
)
420432

421433
expect(code).toBe(0)
422434

0 commit comments

Comments
 (0)