Skip to content

Commit d61aba9

Browse files
update testcase
1 parent 009ccd5 commit d61aba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/load.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ describe("load", function () {
114114
});
115115

116116
it("should throw error given invalid connection string", async () => {
117-
return expect(load("invalid-connection-string")).eventually.rejectedWith("Invalid connection string.");
117+
return expect(load("invalid-connection-string")).eventually.rejectedWith("Invalid connection string");
118118
});
119119

120120
it("should throw error given invalid endpoint URL", async () => {
121121
const credential = createMockedTokenCredential();
122-
return expect(load("invalid-endpoint-url", credential)).eventually.rejectedWith("Invalid Endpoint URL: invalid-endpoint-url");
122+
return expect(load("invalid-endpoint-url", credential)).eventually.rejectedWith("Invalid URL");
123123
});
124124

125125
it("should not include feature flags directly in the settings", async () => {

0 commit comments

Comments
 (0)