Created
September 25, 2018 19:58
-
-
Save techiediaries/1fc9207357add6f04c232f9d9c127f4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe("/Async Op", function () { | |
| var asyncOpCompleted = false; | |
| beforeEach(function (done) { | |
| utils.simulateAsyncOp(function(){ | |
| asyncOpCompleted = true; | |
| done(); | |
| }); | |
| }); | |
| it("should be able to tell if the async call has completed", function () { | |
| expect(asyncOpCompleted).toEqual(true); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment