brohlfs | 51deae1 | 2019-03-28 09:40:22 +0100 | [diff] [blame^] | 1 | <!DOCTYPE html> |
| 2 | <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes"> |
| 3 | <script src="imports.js"></script> |
| 4 | <script src="webcomponentsjs/webcomponents-lite.js"></script> |
| 5 | <link rel="import" href="polymer/polymer.html"> |
| 6 | |
| 7 | <title>builds-results-change-view-tab-header-view</title> |
| 8 | <link rel="import" href="webcomponent_lib/builds-results-change-view-tab-header-view.html"> |
| 9 | |
| 10 | <test-fixture id="basic"> |
| 11 | <template is="dom-template"> |
| 12 | <builds-results-change-view-tab-header-view></builds-results-change-view-tab-header-view> |
| 13 | </template> |
| 14 | </test-fixture> |
| 15 | |
| 16 | <script> |
| 17 | suite('builds-results-change-view-tab-header-view tests', () => { |
| 18 | let element; |
| 19 | let sandbox; |
| 20 | |
| 21 | setup((done) => { |
| 22 | sandbox = sinon.sandbox.create(); |
| 23 | |
| 24 | |
| 25 | element = fixture('basic'); |
| 26 | flush(done); |
| 27 | }); |
| 28 | |
| 29 | teardown(() => { sandbox.restore(); }); |
| 30 | |
| 31 | test('renders the header', () => { |
| 32 | assert.include(element.textContent.trim(), 'Checks'); |
| 33 | }); |
| 34 | }); |
| 35 | </script> |