Failing unit tests no longer show useful info.

This commit is contained in:
Neil Fraser
2018-11-06 13:55:09 -08:00
committed by Neil Fraser
parent d6096accca
commit 8254e2aa22

View File

@@ -33,6 +33,10 @@ goog.require('goog.testing');
*/
var savedFireFunc = Blockly.Events.fire;
// Asserts must be disabled or else errors can't be shown when running on
// file:// URLs.
goog.asserts.ENABLE_ASSERTS = false;
/**
* A helper function to replace Blockly.Events.fire in tests.
*/