()
| 150 | for (const res of clients) send(res, event); |
| 151 | }; |
| 152 | const snapshot = () => ({ |
| 153 | protocol: PROTOCOL_VERSION, |
| 154 | user, |
| 155 | version, |
| 156 | entries: [...builders.values()].flatMap(({ good }) => |
| 157 | good ? [good] : [] |
| 158 | ), |
| 159 | reports: [...builders.values()].map(({ status }) => status), |
| 160 | removals: [...removedTargets.values()], |
| 161 | }); |
| 162 | const readyFrame = () => ({ |
| 163 | type: "ready", |
| 164 | protocol: PROTOCOL_VERSION, |
no outgoing calls
no test coverage detected