(index, str)
| 1949 | afterEach(destroyGraphDiv); |
| 1950 | |
| 1951 | function _setValue(index, str) { |
| 1952 | var item = d3SelectAll('text.legendtext')[0][index || 0]; |
| 1953 | item.dispatchEvent(new MouseEvent('click')); |
| 1954 | return delay(20)() |
| 1955 | .then(function () { |
| 1956 | var input = d3Select('.plugin-editable.editable'); |
| 1957 | input.text(str); |
| 1958 | input.node().dispatchEvent(new KeyboardEvent('blur')); |
| 1959 | }) |
| 1960 | .then(delay(20)); |
| 1961 | } |
| 1962 | |
| 1963 | function assertLabels(expected) { |
| 1964 | var labels = []; |
no outgoing calls
no test coverage detected
searching dependent graphs…