]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Added starter templates for js component unit tests 8472/head
authorColin Marshall <colin.michael.marshall@gmail.com>
Mon, 28 Mar 2016 02:36:15 +0000 (20:36 -0600)
committerColin Marshall <colin.michael.marshall@gmail.com>
Mon, 28 Mar 2016 03:14:58 +0000 (21:14 -0600)
18 files changed:
test/javascript/components/abide.js [new file with mode: 0644]
test/javascript/components/accordion.js [new file with mode: 0644]
test/javascript/components/accordionMenu.js [new file with mode: 0644]
test/javascript/components/drilldown.js [new file with mode: 0644]
test/javascript/components/dropdown.js [new file with mode: 0644]
test/javascript/components/dropdownMenu.js [new file with mode: 0644]
test/javascript/components/equalizer.js [new file with mode: 0644]
test/javascript/components/interchange.js [new file with mode: 0644]
test/javascript/components/magellan.js [new file with mode: 0644]
test/javascript/components/offcanvas.js [new file with mode: 0644]
test/javascript/components/orbit.js [new file with mode: 0644]
test/javascript/components/responsiveMenu.js [new file with mode: 0644]
test/javascript/components/responsiveToggle.js [new file with mode: 0644]
test/javascript/components/reveal.js [new file with mode: 0644]
test/javascript/components/slider.js [new file with mode: 0644]
test/javascript/components/sticky.js [new file with mode: 0644]
test/javascript/components/tabs.js [new file with mode: 0644]
test/javascript/components/tooltip.js [new file with mode: 0644]

diff --git a/test/javascript/components/abide.js b/test/javascript/components/abide.js
new file mode 100644 (file)
index 0000000..78be9ef
--- /dev/null
@@ -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 (file)
index 0000000..302031b
--- /dev/null
@@ -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 (file)
index 0000000..7a3c8df
--- /dev/null
@@ -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 (file)
index 0000000..915dee4
--- /dev/null
@@ -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 (file)
index 0000000..18c62da
--- /dev/null
@@ -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 (file)
index 0000000..b8967f3
--- /dev/null
@@ -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 (file)
index 0000000..85508a2
--- /dev/null
@@ -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 (file)
index 0000000..945b746
--- /dev/null
@@ -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 (file)
index 0000000..26678f2
--- /dev/null
@@ -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 (file)
index 0000000..3935a14
--- /dev/null
@@ -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 (file)
index 0000000..84d0b40
--- /dev/null
@@ -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 (file)
index 0000000..bdfc487
--- /dev/null
@@ -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 (file)
index 0000000..0065c29
--- /dev/null
@@ -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 (file)
index 0000000..01a25ea
--- /dev/null
@@ -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 (file)
index 0000000..4198733
--- /dev/null
@@ -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 (file)
index 0000000..b332c75
--- /dev/null
@@ -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 (file)
index 0000000..0dab0ce
--- /dev/null
@@ -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 (file)
index 0000000..d680367
--- /dev/null
@@ -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