Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const {shadowBlockConversionChangeListener} = require('../src/index');

const assert = chai.assert;

suite.skip('shadowBlockConversionChangeListener', function () {
suite('shadowBlockConversionChangeListener', function () {
/**
* Create a parent block with an unconnected value connection.
* @param {Blockly.Workspace} workspace The workspace to use.
Expand All @@ -38,6 +38,8 @@ suite.skip('shadowBlockConversionChangeListener', function () {
'<!DOCTYPE html><div id="blocklyDiv"></div>',
{pretendToBeVisual: true},
);
// See https://github.com/google/blockly-samples/issues/2528 for context.
global.SVGElement = window.SVGElement;

this.workspace = Blockly.inject('blocklyDiv');
this.workspace.addChangeListener(shadowBlockConversionChangeListener);
Expand Down
Loading