1
mirror of https://github.com/home-assistant/frontend synced 2024-09-28 00:43:28 +02:00
ha-frontend/test
Adam Mills 3412edb843 Compute state display tests (#643)
* 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 e3509d7182.

* Revert "Always recalculate state display"

This reverts commit 27c24e2694.
2017-11-20 21:46:36 -08:00
..
index.html Compute state display tests (#643) 2017-11-20 21:46:36 -08:00
state-card-display-test.html Compute state display tests (#643) 2017-11-20 21:46:36 -08:00
state-info-test.html Compute state display tests (#643) 2017-11-20 21:46:36 -08:00