UNPKG

polymer-cli

Version:
31 lines (26 loc) 808 B
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <title><%= name %> test</title> <script src="../../webcomponentsjs/webcomponents-lite.js"></script> <script src="../../web-component-tester/browser.js"></script> <link rel="import" href="../<%= name %>.html"> </head> <body> <test-fixture id="basic"> <template> <<%= name %>></<%= name %>> </template> </test-fixture> <script> suite('<%= name %>', function() { test('instantiating the element works', function() { var element = fixture('basic'); assert.equal(element.is, '<%= name %>'); }); }); </script> </body> </html>