* Move computeDomain and format functions to js * Add tests for computeStateDisplay * Always recalculate state display * Remove LANGUAGE from hassUtils object * Move AppLocalizeBehavior import to mixins * Import mixins to state-card-display * Safety check on computeStateDisplay * Don't store computed domains on stateObj * Integration tests for state-card-display * Include extractDomain code in polymer repo * Remove util function null checking * Dont render test element without hass and stateObj * Revert "Don't store computed domains on stateObj" This reverts commit e3509d71823ff5e42a4dcf4849a98c5bb6cb391c. * Revert "Always recalculate state display" This reverts commit 27c24e2694ee6f7c147782532268b3a67998d49b.
19 lines
513 B
HTML
19 lines
513 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
|
|
<title>Tests</title>
|
|
<script src="../../web-component-tester/browser.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
WCT.loadSuites([
|
|
'state-info-test.html?dom=shadow',
|
|
'state-info-test.html?dom=shady',
|
|
'state-card-display-test.html?dom=shadow',
|
|
'state-card-display-test.html?dom=shady',
|
|
]);
|
|
</script>
|
|
</body></html>
|