Skip to content

Commit 5ff5a55

Browse files
author
Your Name
committed
Angular Testing Course
1 parent 8c7667e commit 5ff5a55

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
3+
fdescribe("Async Testing Examples", () => {
4+
5+
6+
it("Asynchronous test example with Jasmine done()", (done:DoneFn) => {
7+
8+
let test = false;
9+
10+
setTimeout(() => {
11+
12+
console.log('running assertions');
13+
14+
test = true;
15+
16+
expect(test).toBeTruthy();
17+
18+
done();
19+
20+
}, 1000);
21+
22+
});
23+
24+
25+
});

0 commit comments

Comments
 (0)