(overrides: Partial<WlClientConfig> = {})
| 25 | } from './ops/test-helpers'; |
| 26 | |
| 27 | function makeConfig(overrides: Partial<WlClientConfig> = {}): WlClientConfig { |
| 28 | return { |
| 29 | upstream: 'hop/wl', |
| 30 | forkOrg: 'alice', |
| 31 | rigHandle: 'alice', |
| 32 | token: 'tok', |
| 33 | ...overrides, |
| 34 | }; |
| 35 | } |
| 36 | |
| 37 | describe('WlClient constructor', () => { |
| 38 | it('accepts a valid config and parses upstream', () => { |