From eb70e6e3d0bff11c25f14b1196025791bf2308fb Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Tue, 25 Feb 2020 15:07:00 -0500 Subject: Issue #439 - Remove tests from toolkit/ --- .../standards-tests/mf-v2-h-event-dt-property.js | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 toolkit/components/microformats/test/standards-tests/mf-v2-h-event-dt-property.js (limited to 'toolkit/components/microformats/test/standards-tests/mf-v2-h-event-dt-property.js') diff --git a/toolkit/components/microformats/test/standards-tests/mf-v2-h-event-dt-property.js b/toolkit/components/microformats/test/standards-tests/mf-v2-h-event-dt-property.js deleted file mode 100644 index eb97beccb..000000000 --- a/toolkit/components/microformats/test/standards-tests/mf-v2-h-event-dt-property.js +++ /dev/null @@ -1,27 +0,0 @@ -/* -Microformats Test Suite - Downloaded from github repo: microformats/tests version v0.1.24 -Mocha integration test from: microformats-v2/h-event/dt-property -The test was built on Fri Sep 25 2015 13:26:26 GMT+0100 (BST) -*/ - -assert = chai.assert; - - -describe('h-event', function() { - var htmlFragment = "\n The party will be on \n \n

\n \n March 14th 2013\n

\n

\n , from\n 07:00:00am \n

\n \n

\n \n \n Just added, \n Removed\n

\n June 29 \n \n

2013-07-02

\n \n
"; - var expected = {"items":[{"type":["h-event"],"properties":{"name":["The party"],"start":["2013-03-14","2013-06-25 07:00:00","2013-06-26","2013-06-27","2013-06-28","2013-06-29","2013-07-01","2013-07-02"]}}],"rels":{},"rel-urls":{}}; - - it('dt-property', function(){ - var doc, dom, node, options, parser, found; - dom = new DOMParser(); - doc = dom.parseFromString( htmlFragment, 'text/html' ); - options ={ - 'document': doc, - 'node': doc, - 'baseUrl': 'http://example.com', - 'dateFormat': 'html5' - }; - found = Microformats.get( options ); - assert.deepEqual(found, expected); - }); -}); -- cgit v1.2.3