Skip to content

Commit 6c3e2c8

Browse files
[autofix.ci] apply automated fixes
1 parent 5a8c47a commit 6c3e2c8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

packages/faucet-client/src/faucetclient.spec.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ describe("FaucetClient", () => {
2121
expect(new FaucetClient("https://localhost/")).toBeTruthy();
2222
});
2323

24-
(enabled ? it : it.skip)("should throw error if the base URL does not start with http:// or https://", () => {
25-
expect(() => new FaucetClient("ftp://example.com")).toThrowError(
26-
"Expected base url to start with http:// or https://",
27-
);
28-
});
24+
(enabled ? it : it.skip)(
25+
"should throw error if the base URL does not start with http:// or https://",
26+
() => {
27+
expect(() => new FaucetClient("ftp://example.com")).toThrowError(
28+
"Expected base url to start with http:// or https://",
29+
);
30+
},
31+
);
2932

3033
(enabled ? it : it.skip)("can be used to credit a wallet", async () => {
3134
const faucet = new FaucetClient(faucetUrl);

0 commit comments

Comments
 (0)