Skip to content

Commit

Permalink
docs: return promise in async test example
Browse files Browse the repository at this point in the history
  • Loading branch information
cdoublev authored Jan 9, 2025
1 parent 611d1a4 commit 92499b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ExpectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ test('doAsync calls both callbacks', () => {
expect(data).toBeTruthy();
}

doAsync(callback1, callback2);
return doAsync(callback1, callback2);
});
```

Expand Down

0 comments on commit 92499b3

Please sign in to comment.