From 680321fb1d10784a9c8814820e55e7fb7ca42188 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Fri, 16 Aug 2019 12:25:22 -0700 Subject: [PATCH] Don't try to be fancy. --- tests/mocha/xml_test.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/mocha/xml_test.js b/tests/mocha/xml_test.js index ac5da1934..dacf89250 100644 --- a/tests/mocha/xml_test.js +++ b/tests/mocha/xml_test.js @@ -94,10 +94,11 @@ suite('XML', function() { assertSimpleField(resultFieldDom, 'COLOUR', '#000099'); delete Blockly.Blocks['field_colour_test_block']; }); - test('Date', function() { - if (!Blockly.FieldDate) { - this.skip(); - } + /* If you want to run date tests add the date picker here: + * https://github.com/google/blockly/blob/master/core/blockly.js#L41 + * before unskipping. + */ + test.skip('Date', function() { Blockly.defineBlocksWithJsonArray([{ "type": "field_date_test_block", "message0": "%1",