Skip to content

Commit ea43aa1

Browse files
Yostratonyxiao
authored andcommitted
format
1 parent 78d87f0 commit ea43aa1

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

packages/source-stripe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@
3939
"@types/ws": "^8.18.0",
4040
"vitest": "^3.2.4"
4141
}
42-
}
42+
}

packages/source-stripe/src/client.test.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import { describe, expect, it } from 'vitest'
2-
import {
3-
buildTransportOptions,
4-
makeClientConfig,
5-
type StripeClientConfigInput,
6-
} from './client.js'
2+
import { buildTransportOptions, makeClientConfig, type StripeClientConfigInput } from './client.js'
73
import { getProxyUrl } from './transport.js'
84

95
const config: StripeClientConfigInput = {
@@ -45,10 +41,7 @@ describe('buildTransportOptions', () => {
4541
})
4642

4743
it('decomposes a localhost base_url', () => {
48-
const options = buildTransportOptions(
49-
{ ...config, base_url: 'http://localhost:12111' },
50-
{}
51-
)
44+
const options = buildTransportOptions({ ...config, base_url: 'http://localhost:12111' }, {})
5245

5346
expect(options.host).toBe('localhost')
5447
expect(options.port).toBe(12111)

0 commit comments

Comments
 (0)