(fixture: AIDevtoolsToolFixture)
| 638 | } |
| 639 | |
| 640 | private matchesFixtureTarget(fixture: AIDevtoolsToolFixture): boolean { |
| 641 | if (!fixture.hookId && !fixture.threadId) { |
| 642 | return false |
| 643 | } |
| 644 | |
| 645 | if (fixture.hookId) { |
| 646 | return fixture.hookId === this.options.hookId |
| 647 | } |
| 648 | |
| 649 | if ( |
| 650 | fixture.threadId && |
| 651 | (!this.options.threadId || fixture.threadId !== this.options.threadId) |
| 652 | ) { |
| 653 | return false |
| 654 | } |
| 655 | return true |
| 656 | } |
| 657 | |
| 658 | private createEnvelope( |
| 659 | eventType: |
no outgoing calls
no test coverage detected