it("should return the correct object if are passed a fullPath", () => { const fullPath = ["siteId1", "pod1", "sensorId1"]; const ret = chart.selectMultipleElectricalSensor(fullPath); expect(ret).to.deep.equal({ type: "SELECT_MULTIPLE_ELECTRICAL_SITE", payload: fullPath }); });
function troubleMaker () { chart.selectMultipleElectricalSensor(source); }