This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Document necessary unit test changes for async loading #170
Labels
Milestone
Comments
Hey, This is indeed a topic that should be covered in the docs! Thanks for the heads up, will update the docs accordingly but it could take a while since we have to document it in three (the fourth is in the making) languages. I'll leave this open and close it once it landed in canary branch. |
This is how I do it at the moment:
In every unit-test where I need to flush timeout's I need to add this:
|
@jenso you could also overwrite |
@jenso As you can see here: #42 (comment) |
0x-r4bbit
added a commit
that referenced
this issue
May 31, 2014
This landed in |
Closed
0x-r4bbit
pushed a commit
that referenced
this issue
Jun 3, 2014
chapter 22 for #170. Translate in french
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When you load translations asynchronously, you have to modify your unit tests to call $httpBackend.expectGET to avoid an unexpected request error. Could you please provide an example of how to update unit tests to do this in the nicest way? Thanks for the continued great work!
The text was updated successfully, but these errors were encountered: