From: Colin Marshall Date: Mon, 28 Mar 2016 02:36:15 +0000 (-0600) Subject: Added starter templates for js component unit tests X-Git-Tag: v6.2.1~31^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8472%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Added starter templates for js component unit tests --- diff --git a/test/javascript/components/abide.js b/test/javascript/components/abide.js new file mode 100644 index 000000000..78be9efd8 --- /dev/null +++ b/test/javascript/components/abide.js @@ -0,0 +1,20 @@ +describe('Abide', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Abide($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/accordion.js b/test/javascript/components/accordion.js new file mode 100644 index 000000000..302031bfb --- /dev/null +++ b/test/javascript/components/accordion.js @@ -0,0 +1,20 @@ +describe('Accordion', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Accordion($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/accordionMenu.js b/test/javascript/components/accordionMenu.js new file mode 100644 index 000000000..7a3c8df3c --- /dev/null +++ b/test/javascript/components/accordionMenu.js @@ -0,0 +1,20 @@ +describe('Accordion Menu', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.AccordionMenu($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/drilldown.js b/test/javascript/components/drilldown.js new file mode 100644 index 000000000..915dee4be --- /dev/null +++ b/test/javascript/components/drilldown.js @@ -0,0 +1,20 @@ +describe('Drilldown Menu', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Drilldown($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/dropdown.js b/test/javascript/components/dropdown.js new file mode 100644 index 000000000..18c62daa5 --- /dev/null +++ b/test/javascript/components/dropdown.js @@ -0,0 +1,20 @@ +describe('Dropdown', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Dropdown($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/dropdownMenu.js b/test/javascript/components/dropdownMenu.js new file mode 100644 index 000000000..b8967f38e --- /dev/null +++ b/test/javascript/components/dropdownMenu.js @@ -0,0 +1,20 @@ +describe('Dropdown Menu', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.DropdownMenu($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/equalizer.js b/test/javascript/components/equalizer.js new file mode 100644 index 000000000..85508a26e --- /dev/null +++ b/test/javascript/components/equalizer.js @@ -0,0 +1,20 @@ +describe('Equalizer', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Equalizer($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/interchange.js b/test/javascript/components/interchange.js new file mode 100644 index 000000000..945b7465b --- /dev/null +++ b/test/javascript/components/interchange.js @@ -0,0 +1,20 @@ +describe('Interchange', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Interchange($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/magellan.js b/test/javascript/components/magellan.js new file mode 100644 index 000000000..26678f2c5 --- /dev/null +++ b/test/javascript/components/magellan.js @@ -0,0 +1,20 @@ +describe('Magellan', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Magellan($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/offcanvas.js b/test/javascript/components/offcanvas.js new file mode 100644 index 000000000..3935a1408 --- /dev/null +++ b/test/javascript/components/offcanvas.js @@ -0,0 +1,20 @@ +describe('Off Canvas', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.OffCanvas($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/orbit.js b/test/javascript/components/orbit.js new file mode 100644 index 000000000..84d0b403a --- /dev/null +++ b/test/javascript/components/orbit.js @@ -0,0 +1,20 @@ +describe('Orbit', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Orbit($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/responsiveMenu.js b/test/javascript/components/responsiveMenu.js new file mode 100644 index 000000000..bdfc48755 --- /dev/null +++ b/test/javascript/components/responsiveMenu.js @@ -0,0 +1,20 @@ +describe('Responsive Menu', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.ResponsiveMenu($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/responsiveToggle.js b/test/javascript/components/responsiveToggle.js new file mode 100644 index 000000000..0065c29c4 --- /dev/null +++ b/test/javascript/components/responsiveToggle.js @@ -0,0 +1,20 @@ +describe('Responsive Toggle', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.ResponsiveToggle($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/reveal.js b/test/javascript/components/reveal.js new file mode 100644 index 000000000..01a25ea24 --- /dev/null +++ b/test/javascript/components/reveal.js @@ -0,0 +1,20 @@ +describe('Reveal', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Reveal($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/slider.js b/test/javascript/components/slider.js new file mode 100644 index 000000000..419873315 --- /dev/null +++ b/test/javascript/components/slider.js @@ -0,0 +1,20 @@ +describe('Slider', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Slider($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/sticky.js b/test/javascript/components/sticky.js new file mode 100644 index 000000000..b332c75ad --- /dev/null +++ b/test/javascript/components/sticky.js @@ -0,0 +1,20 @@ +describe('Sticky', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Sticky($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/tabs.js b/test/javascript/components/tabs.js new file mode 100644 index 000000000..0dab0cee1 --- /dev/null +++ b/test/javascript/components/tabs.js @@ -0,0 +1,20 @@ +describe('Tabs', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Tabs($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file diff --git a/test/javascript/components/tooltip.js b/test/javascript/components/tooltip.js new file mode 100644 index 000000000..d680367a8 --- /dev/null +++ b/test/javascript/components/tooltip.js @@ -0,0 +1,20 @@ +describe('Tooltip', function() { + var plugin; + var $html; + + // afterEach(function() { + // plugin.destroy(); + // $html.remove(); + // }); + + describe('constructor()', function() { + // it('', function() { + // $html = $('').appendTo('body'); + // plugin = new Foundation.Tooltip($html, {}); + + // plugin.$element.should.be.an('object'); + // plugin.options.should.be.an('object'); + // }); + }); + +}); \ No newline at end of file