| <!DOCTYPE html> |
| <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes"> |
| <script src="imports.js"></script> |
| <script src="webcomponentsjs/webcomponents-lite.js"></script> |
| <link rel="import" href="polymer/polymer.html"> |
| |
| <title>gr-checks-change-list-header-view</title> |
| <link rel="import" href="webcomponent_lib/gr-checks-change-list-header-view.html"> |
| |
| <test-fixture id="basic"> |
| <template is="dom-template"> |
| <gr-checks-change-list-header-view></gr-checks-change-list-header-view> |
| </template> |
| </test-fixture> |
| |
| <script> |
| |
| suite('gr-checks-change-list-header-view tests', () => { |
| let element; |
| let sandbox; |
| |
| setup((done) => { |
| sandbox = sinon.sandbox.create(); |
| |
| |
| element = fixture('basic'); |
| flush(done); |
| }); |
| |
| teardown(() => { sandbox.restore(); }); |
| |
| test('renders the header', () => { |
| assert.include(element.textContent.trim(), 'Checks'); |
| }); |
| }); |
| </script> |