Skip to content

Commit d6c52b4

Browse files
committed
Fix flakey test on Win32 Node 24
1 parent c9f64f9 commit d6c52b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ describe('socket analytics', async () => {
5353
|__ | * | _| '_| -_| _| | Node: <redacted>, API token set: <redacted>
5454
|_____|___|___|_,_|___|_|.dev | Command: \`socket analytics\`, cwd: <redacted>"
5555
`)
56+
expect(code, 'explicit help should exit with code 0').toBe(0)
5657
}
5758

58-
expect(code, 'explicit help should exit with code 0').toBe(0)
5959
expect(stderr, 'banner includes base command').toContain(
6060
'`socket analytics`',
6161
)

src/commands/config/cmd-config-get.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ describe('socket config get', async () => {
4949
|__ | * | _| '_| -_| _| | Node: <redacted>, API token set: <redacted>
5050
|_____|___|___|_,_|___|_|.dev | Command: \`socket config get\`, cwd: <redacted>"
5151
`)
52+
expect(code, 'explicit help should exit with code 0').toBe(0)
5253
}
5354

54-
expect(code, 'explicit help should exit with code 0').toBe(0)
5555
expect(stderr, 'banner includes base command').toContain(
5656
'`socket config get`',
5757
)

0 commit comments

Comments
 (0)