(prev, current)
| 242 | ]; |
| 243 | |
| 244 | function emit(prev, current) { |
| 245 | topology.emit( |
| 246 | 'topologyDescriptionChanged', |
| 247 | new TopologyDescriptionChangedEvent(topology.s.id, prev, current) |
| 248 | ); |
| 249 | } |
| 250 | |
| 251 | expect(srvPoller.start).to.not.have.been.called; |
| 252 | emit(topologyDescriptions[0], topologyDescriptions[1]); |