Commit Graph

2 Commits (706a63cc51137c3e96a84d74cab81a1033536919)

Author SHA1 Message Date
Erin Altenhof-Long 03bef161b5 test(hintCtrl): add test coverage for hintCtrl functions
Add tests that demonstrate the functionality of hintCtrl formatting functions.
These tests mock the hintService to test the operation of hintCtrl
functions for splitting and using received messages.
10 years ago
Erin Altenhof-Long 952a4a4c73 refactor(hintService): move communication through developer tools to backend service
To improve testability, the backend communication with the developer tools is moved to
a service that can then be mocked for testing purposes. Moving functionality to
a service means that an app file is needed to create the module before the controller
and the service and that the app, service, and controller should be contained in the
application html page.
10 years ago