ha-frontend-cdce8p/test/state-info-test.html
Andrey 57512211d7 Add web-component-tester tests (#255)
* Use travis.yml from polymer

* Update .travis.yml

* Try wct tests

* Encrypt Sauce env

* More test config

* Update2

* try to remove souce_connect

* Try another config

* More browsers

* Clean tabs, test shadow dom.
2017-04-03 22:51:20 -07:00

30 lines
647 B
HTML

<!doctype html>
<html>
<head>
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
<script src="../../web-component-tester/browser.js"></script>
<link rel="import" href="../src/components/entity/state-info.html">
</head>
<body>
<test-fixture id="state-info">
<template>
<state-info></state-info>
</template>
</test-fixture>
<script>
suite('state-info', function() {
var si;
setup(function() {
si = fixture('state-info');
});
test('default stateObj', function() {
assert.equal(si.stateObj, undefined);
});
});
</script>
</body>
</html>