| 138 | |
| 139 | it('broadcast_LineString', done => { |
| 140 | var broadcast_LineString = flowService => { |
| 141 | var feature = { |
| 142 | geometry: { |
| 143 | coordinates: [ |
| 144 | [116.381741960923, 39.8765100055449], |
| 145 | [116.414681699817, 39.8765100055449], |
| 146 | [116.414681699817, 39.8415115329708] |
| 147 | ], |
| 148 | type: 'LineString' |
| 149 | }, |
| 150 | id: 2, |
| 151 | type: 'Feature', |
| 152 | properties: { |
| 153 | id: 2, |
| 154 | time: new Date() |
| 155 | } |
| 156 | }; |
| 157 | flowService.broadcast(feature); |
| 158 | }; |
| 159 | const source = new DataFlow({ |
| 160 | ws: urlDataFlow |
| 161 | }); |
no test coverage detected