blob: f1047fee15cecf92ff3eb4c122e8b2ad74334313 [file] [log] [blame]
<!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>builds-results-change-list-item-cell-view</title>
<link rel="import" href="webcomponent_lib/builds-results-change-list-item-cell-view.html">
<test-fixture id="basic">
<template is="dom-template">
<builds-results-change-list-item-cell-view change="[[change]]"></builds-results-change-list-item-cell-view>
</template>
</test-fixture>
<script>
suite('builds-results-change-list-item-cell-view tests', () => {
let element;
let sandbox;
setup((done) => {
sandbox = sinon.sandbox.create();
element = fixture('basic', {
change: {
'project': 'test-repository',
'revisions': {
'first-sha': "test-revision",
'second-sha': "test-revision2",
}
},
});
flush(done);
});
teardown(() => { sandbox.restore(); });
test('renders the element', () => {
assert.exists(element);
});
});
</script>