We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e292e3f commit 41cdf93Copy full SHA for 41cdf93
1 file changed
src/utilities/do-try.test.ts
@@ -76,7 +76,7 @@ describe("do-try.ts", () => {
76
it("When no errors occur, then catch handler is never called", async () => {
77
// Arrange
78
const catchHandler = jest.fn();
79
- const workload = async () => jest.fn()();
+ const workload = async () => {};
80
81
// Act
82
await Do.try(workload)
@@ -90,7 +90,7 @@ describe("do-try.ts", () => {
90
it("When no errors occur, then finally handler is still called", async () => {
91
92
const finallyHandler = jest.fn();
93
94
95
96
0 commit comments