Skip to content

Commit

Permalink
Only change the affected test method.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnesky committed Jul 19, 2024
1 parent ca23567 commit bd90a48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/mocha/blocks/procedures_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {defineRowBlock} from '../test_helpers/block_definitions.js';
suite('Procedures', function () {
setup(function () {
sharedTestSetup.call(this, {fireEventsNow: false});
this.workspace = Blockly.inject('blocklyDiv', {disable: true});
this.workspace = Blockly.inject('blocklyDiv', {});
this.workspace.createVariable('preCreatedVar', '', 'preCreatedVarId');
this.workspace.createVariable(
'preCreatedTypedVar',
Expand Down Expand Up @@ -862,6 +862,7 @@ suite('Procedures', function () {
'if a procedure caller block was already disabled before ' +
'its definition was disabled, it is not reenabled',
function () {
this.workspace.options.disable = true;
const defBlock = createProcDefBlock(this.workspace);
const callBlock = createProcCallBlock(this.workspace);
this.clock.runAll();
Expand Down

0 comments on commit bd90a48

Please sign in to comment.