Skip to content

Commit ce50104

Browse files
committed
Fix ENOENT test fail
1 parent d9cfee1 commit ce50104

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/commands/scan/cmd-scan-reach.test.mts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -493,10 +493,8 @@ describe('socket scan reach', async () => {
493493
'--config',
494494
'{"apiToken":"fakeToken"}',
495495
]
496-
const { code, stdout } = await spawnSocketCli(binCliPath, cmd, {
497-
cwd: path.join(fixtureBaseDir, 'nonexistent'),
498-
})
499-
expect(stdout).toMatchInlineSnapshot(`""`)
496+
const { code, stdout } = await spawnSocketCli(binCliPath, cmd)
497+
expect(stdout).toMatchInlineSnapshot(`"[DryRun]: Bailing now"`)
500498
expect(code, 'should exit with code 0').toBe(0)
501499
},
502500
{ timeout: 30_000 },

0 commit comments

Comments
 (0)