From 0714335bbbe405e23ffb19f822334a661a1f6843 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Fri, 16 Aug 2019 12:17:08 -0700 Subject: [PATCH] And fix the XML test too. --- tests/mocha/xml_test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/mocha/xml_test.js b/tests/mocha/xml_test.js index 51dfa7f6d..ac5da1934 100644 --- a/tests/mocha/xml_test.js +++ b/tests/mocha/xml_test.js @@ -95,6 +95,9 @@ suite('XML', function() { delete Blockly.Blocks['field_colour_test_block']; }); test('Date', function() { + if (!Blockly.FieldDate) { + this.skip(); + } Blockly.defineBlocksWithJsonArray([{ "type": "field_date_test_block", "message0": "%1",