From 0685fc9bfc3298dc38774134a98df5a8b50b89e7 Mon Sep 17 00:00:00 2001 From: Loren Norman Date: Sat, 2 Aug 2025 00:31:26 -0400 Subject: [PATCH] fix tests --- test/app/blocks/snapshots/block_snapshots_test.js.snapshot | 2 +- test/src/integration/exporters_test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/app/blocks/snapshots/block_snapshots_test.js.snapshot b/test/app/blocks/snapshots/block_snapshots_test.js.snapshot index ffaf3a0..53a075f 100644 --- a/test/app/blocks/snapshots/block_snapshots_test.js.snapshot +++ b/test/app/blocks/snapshots/block_snapshots_test.js.snapshot @@ -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": [ { diff --git a/test/src/integration/exporters_test.js b/test/src/integration/exporters_test.js index 6d76fa4..0d053e1 100644 --- a/test/src/integration/exporters_test.js +++ b/test/src/integration/exporters_test.js @@ -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 }, () => {