diff --git a/tests/bootstrap_helper.js b/tests/bootstrap_helper.js index 8809fe79c..f70d52101 100644 --- a/tests/bootstrap_helper.js +++ b/tests/bootstrap_helper.js @@ -21,20 +21,6 @@ // Force debug module loader to finish loading all modules. for (const require of info.requires) { goog.require(require); - - // This is a kludge to work around an issue where attempting to - // load Blockly.libraryBlocks (blocks/blocks.js) fails if the - // Blockly global variable is not defined. - // - // This is apparently because the debug module loader fails to - // load Blockly.libraryBlocks.lists (blocks/lists.js) and - // .procedures (blocks/procedures.js) first, despite they both - // being required from blocks.js, and that is apparently because - // they both depend on Blockly.Xml which the debug loader seems - // to think has not been loaded yet even though it has. - if (require === 'Blockly') { - window.Blockly = goog.module.get('Blockly'); - } } } diff --git a/tsconfig.json b/tsconfig.json index 8d3243af4..2d65a6486 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,9 +3,6 @@ "core/**/*", // N.B.: also pulls in closure/goog/goog.js if needed. "closure/**/*", // Just for ouptut directory structure. ], - "exclude": [ - "core/blockly.js" - ], "compilerOptions": { // Tells TypeScript to read JS files, as // normally they are ignored as source files