(color)
| 791 | } |
| 792 | |
| 793 | function _assert(color) { |
| 794 | var mapInfo = getMapInfo(gd); |
| 795 | var layer = mapInfo.layers[mapInfo.layoutLayers[0]]; |
| 796 | |
| 797 | expect(mapInfo.layoutLayers.length).toBe(1, 'one layer'); |
| 798 | expect(mapInfo.layoutSources.length).toBe(1, 'one layer source'); |
| 799 | expect(String(layer.paint._values['fill-color'].value.value)).toBe(color, 'layer color'); |
| 800 | } |
| 801 | |
| 802 | // TODO |
| 803 | // this one now logs: |
no test coverage detected
searching dependent graphs…