FBJS update

pull/660/head
Rick Carlino 2018-02-13 12:42:44 -06:00
parent a89b8fa87e
commit fee38ff66c
4 changed files with 9 additions and 10 deletions

View File

@ -53,7 +53,7 @@
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.1.0",
"extract-text-webpack-plugin": "^3.0.1",
"farmbot": "5.3.8",
"farmbot": "5.3.9",
"farmbot-toastr": "^1.0.3",
"fastclick": "^1.0.6",
"file-loader": "^1.1.5",
@ -139,8 +139,5 @@
"lcov"
],
"setupTestFrameworkScriptFile": "<rootDir>/webpack/__test_support__/customMatchers.js"
},
"engines": {
"node": ">=8.9.4"
}
}

View File

@ -8,8 +8,10 @@ import { Actions } from "../../../constants";
import { FBSelect } from "../../../ui/index";
const p = fakePeripheral();
const exampleStep: ReadPeripheral =
({ kind: "read_peripheral", args: { peripheral_id: 1 } });
const exampleStep: ReadPeripheral = {
kind: "read_peripheral",
args: { pin_mode: 0, peripheral_id: 1 }
};
describe("<TileReadPeripheral/>", () => {
function bootstrapTest(step: SequenceBodyItem = exampleStep, isShallow = false) {

View File

@ -9,7 +9,7 @@ export const EMPTY_READ_PIN: ReadPin = {
export const EMPTY_READ_PERIPHERAL: ReadPeripheral = {
kind: "read_peripheral",
args: { peripheral_id: 0 }
args: { peripheral_id: 0, pin_mode: 0 }
};
export const changeStep =

View File

@ -2238,9 +2238,9 @@ farmbot-toastr@^1.0.0, farmbot-toastr@^1.0.3:
farmbot-toastr "^1.0.0"
typescript "^2.3.4"
farmbot@5.3.8:
version "5.3.8"
resolved "https://registry.yarnpkg.com/farmbot/-/farmbot-5.3.8.tgz#6edc87cc11e83b7db83df813a041d2768198e653"
farmbot@5.3.9:
version "5.3.9"
resolved "https://registry.yarnpkg.com/farmbot/-/farmbot-5.3.9.tgz#b13e675c863b2d3abcef63b68059a2e963fd4902"
dependencies:
mqtt "2.15.0"
typescript "^2.4.2"