Skip to content

Commit 94059ce

Browse files
committed
Fixing tests
1 parent 0c3357c commit 94059ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/utils.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('Feature: Command Line Arguments Parsing', () => {
6565

6666
// Then the custom header should be correctly parsed
6767
expect(result.serverUrl).toBe('https://example.com/sse')
68-
expect(result.headers).toEqual({ foo: ' taz' })
68+
expect(result.headers).toEqual({ foo: 'taz' })
6969
})
7070

7171
it('Scenario: Parse multiple custom headers', async () => {
@@ -79,8 +79,8 @@ describe('Feature: Command Line Arguments Parsing', () => {
7979
// Then all custom headers should be correctly parsed
8080
expect(result.serverUrl).toBe('https://example.com/sse')
8181
expect(result.headers).toEqual({
82-
Authorization: ' Bearer token123',
83-
'Content-Type': ' application/json',
82+
Authorization: 'Bearer token123',
83+
'Content-Type': 'application/json',
8484
})
8585
})
8686

@@ -132,7 +132,7 @@ describe('Feature: Command Line Arguments Parsing', () => {
132132
// Then all arguments should be correctly parsed including HTTP URL acceptance
133133
expect(result.serverUrl).toBe('http://example.com/sse')
134134
expect(result.callbackPort).toBe(4000)
135-
expect(result.headers).toEqual({ Authorization: ' Bearer abc123' })
135+
expect(result.headers).toEqual({ Authorization: 'Bearer abc123' })
136136
})
137137

138138
it('Scenario: Use default transport strategy when not specified', async () => {

0 commit comments

Comments
 (0)