Skip to content

Commit 1670563

Browse files
committed
style: let -> const
1 parent f22d525 commit 1670563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ test("loadCallback callback should fire", () => {
112112
test("script onerror should reject promise", async () => {
113113
const loader = new Loader({ apiKey: "foo" });
114114

115-
let rejection = expect(loader.load()).rejects.toBeInstanceOf(ErrorEvent);
115+
const rejection = expect(loader.load()).rejects.toBeInstanceOf(ErrorEvent);
116116

117117
loader["loadErrorCallback"](document.createEvent("ErrorEvent"));
118118

0 commit comments

Comments
 (0)