fix tests
This commit is contained in:
parent
6183cc6953
commit
0685fc9bfc
2 changed files with 3 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ exports[`Block Snapshots > Blockly JSON > action_root 1`] = `
|
|||
"inputsInline": false,
|
||||
"type": "action_root",
|
||||
"colour": "0",
|
||||
"tooltip": "Add Triggers to determine when this Action runs.",
|
||||
"tooltip": "Add Triggers to determine when this Action runs. Add Actions to determine what this Action does.",
|
||||
"message0": "Triggers: %1",
|
||||
"args0": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -81,8 +81,8 @@ describe("Exporting Blockly Files", () => {
|
|||
assert.exists(trunkObject)
|
||||
assert.hasAllKeys(trunkObject, ["type", "inputs"])
|
||||
assert.hasAllKeys(trunkObject.inputs, ["SUBJECT", "PREDICATE"])
|
||||
assert.hasAllKeys(trunkObject.inputs.SUBJECT, ["shadow"])
|
||||
assert.hasAllKeys(trunkObject.inputs.PREDICATE, ["shadow"])
|
||||
assert.hasAllKeys(trunkObject.inputs.SUBJECT, ["shadow", "block"])
|
||||
assert.hasAllKeys(trunkObject.inputs.PREDICATE, ["shadow", "block"])
|
||||
})
|
||||
|
||||
it("export other block trees by name", { skip: true }, () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue