Skip to content

Commit 5540a89

Browse files
committed
await
1 parent 599b44a commit 5540a89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/errors.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe("README usage examples", () => {
2929
},
3030
});
3131

32-
expect(() =>
32+
await expect(() =>
3333
octokit.createOrUpdateTextFile({
3434
owner: "octocat",
3535
repo: "hello-world",
@@ -63,7 +63,7 @@ describe("README usage examples", () => {
6363
},
6464
});
6565

66-
expect(() =>
66+
await expect(() =>
6767
octokit.createOrUpdateTextFile({
6868
owner: "octocat",
6969
repo: "hello-world",
@@ -100,7 +100,7 @@ describe("README usage examples", () => {
100100
},
101101
});
102102

103-
expect(() =>
103+
await expect(() =>
104104
octokit.createOrUpdateTextFile({
105105
owner: "octocat",
106106
repo: "hello-world",

0 commit comments

Comments
 (0)