fix tests

This commit is contained in:
Loren Norman 2025-08-02 00:31:26 -04:00
parent 6183cc6953
commit 0685fc9bfc
2 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ exports[`Block Snapshots > Blockly JSON > action_root 1`] = `
"inputsInline": false, "inputsInline": false,
"type": "action_root", "type": "action_root",
"colour": "0", "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", "message0": "Triggers: %1",
"args0": [ "args0": [
{ {

View file

@ -81,8 +81,8 @@ describe("Exporting Blockly Files", () => {
assert.exists(trunkObject) assert.exists(trunkObject)
assert.hasAllKeys(trunkObject, ["type", "inputs"]) assert.hasAllKeys(trunkObject, ["type", "inputs"])
assert.hasAllKeys(trunkObject.inputs, ["SUBJECT", "PREDICATE"]) assert.hasAllKeys(trunkObject.inputs, ["SUBJECT", "PREDICATE"])
assert.hasAllKeys(trunkObject.inputs.SUBJECT, ["shadow"]) assert.hasAllKeys(trunkObject.inputs.SUBJECT, ["shadow", "block"])
assert.hasAllKeys(trunkObject.inputs.PREDICATE, ["shadow"]) assert.hasAllKeys(trunkObject.inputs.PREDICATE, ["shadow", "block"])
}) })
it("export other block trees by name", { skip: true }, () => { it("export other block trees by name", { skip: true }, () => {