Skip to content

Commit 2eff8bd

Browse files
authored
test: rename test. (#3)
test: rename test
2 parents 607dfcf + 8a5a0d3 commit 2eff8bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/dwait.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ describe("dwait Tests", () => {
115115
expect.objectContaining({ foo: OK + OK })
116116
);
117117
});
118-
test("should be able to wrap a constructor successfully", async () => {
118+
test("should be able to wrap functions with returning promises", async () => {
119119
const dwaitPromise = dwait(new TestClass(OK, NUMBER, OK)).addBar();
120120
await expect(dwaitPromise.await).resolves.toEqual(
121121
NUMBER + 1

0 commit comments

Comments
 (0)