UNPKG

node-red-contrib-amazon-echo-oztourer

Version:

Alexa controlled Node-Red nodes supporting latest Amazon Echo devices

46 lines (43 loc) 991 B
const request = require('supertest'); const helper = require("node-red-node-test-helper"); const amazonEchoHub = require("../nodes/amazon-echo-hub.js"); const amazonEchoDevice = require("../nodes/amazon-echo-device.js"); var flow = [{ "id": "00000000.000000", "type": "tab", "label": "Flow 1", "disabled": false, "info": "" }, { "id": "00000000.000001", "type": "amazon-echo-hub", "z": "00000000.000000", "port": "8080", "processinput": 2, "discovery": true, "wires": [ ["00000000.000002"] ] }, { "id": "00000000.000002", "type": "amazon-echo-device", "z": "00000000.000000", "name": "Bulb", "topic": "", "wires": [ ["00000000.0000f0"] ] }, { "id": "00000000.0000f0", "type": "helper", "z": "00000000.000000" } ]; exports.request = request; exports.helper = helper; exports.amazonEchoHub = amazonEchoHub; exports.amazonEchoDevice = amazonEchoDevice; exports.flow = flow;