(
overrides: Partial<Command> = {},
)
| 8 | } from './replSubmitPreflight.js' |
| 9 | |
| 10 | function createCommand( |
| 11 | overrides: Partial<Command> = {}, |
| 12 | ): Command { |
| 13 | return { |
| 14 | name: 'test', |
| 15 | description: 'test command', |
| 16 | type: 'local-jsx', |
| 17 | load: async () => ({ |
| 18 | call: async () => null, |
| 19 | }), |
| 20 | ...overrides, |
| 21 | } as Command |
| 22 | } |
| 23 | |
| 24 | describe('resolveBackgroundPRShortcutCandidate', () => { |
| 25 | it('returns null unless ant prompt submit without speculation accept', () => { |
no outgoing calls
no test coverage detected