(data)
| 186 | // translate all falsey candidates to null |
| 187 | let endCandidateSent = false |
| 188 | function endToEmptyString (data) { |
| 189 | if (data.candidate && !data.candidate.candidate) { |
| 190 | data.candidate.candidate = '' |
| 191 | endCandidateSent = true |
| 192 | } |
| 193 | return data |
| 194 | } |
| 195 | |
| 196 | peer1.on('error', () => t.fail('peer1 threw error')) |
| 197 | peer2.on('error', () => t.fail('peer2 threw error')) |
no outgoing calls
no test coverage detected
searching dependent graphs…