Testing Angular $q Promises

2016-04-12 10:27:44 -0400

This is a quick reference to testing Angular's $q promises.

Values of promise.$$state.status
Value State
0 Outstanding
1 Resolved
2 Rejected