Skip to content

Commit 400f558

Browse files
committed
oh.
1 parent ddd999b commit 400f558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/dry-run.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,14 +900,14 @@ describe('dry-run on all commands', async () => {
900900
)
901901
})
902902

903-
cmdit(['scan', 'stream', '--dry-run'], 'should support', async cmd => {
903+
cmdit(['scan', 'view', '--dry-run'], 'should support', async cmd => {
904904
const { code, stderr, stdout } = await invoke(entryPath, cmd)
905905
expect(`\n ${stdout}`).toMatchInlineSnapshot(`
906906
"
907907
_____ _ _ /---------------
908908
| __|___ ___| |_ ___| |_ | Socket.dev CLI ver <redacted>
909909
|__ | . | _| '_| -_| _| | Node: <redacted>, API token set: <redacted>
910-
|_____|___|___|_,_|___|_|.dev | Command: \`socket scan stream\`, cwd: <redacted>"
910+
|_____|___|___|_,_|___|_|.dev | Command: \`socket scan view\`, cwd: <redacted>"
911911
`)
912912
expect(stderr).toMatchInlineSnapshot(`
913913
"\\x1b[31m\\xd7\\x1b[39m \\x1b[41m\\x1b[37mInput error\\x1b[39m\\x1b[49m: Please provide the required fields:

0 commit comments

Comments
 (0)