FBJS update
parent
a89b8fa87e
commit
fee38ff66c
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue