Skip to content

Commit 1e483fb

Browse files
committed
chore: update connectivity
1 parent 96a893a commit 1e483fb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

connectivity-test/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package-lock.json
22
.env
3+
.env.*
34

45
# Midscene.js dump files
56
midscene_run/midscene-report

connectivity-test/tests/connectivity.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import { callToGetJSONObject } from "@midscene/core/ai-model";
88
// read and parse .env file
99
const result = dotenv.config({
1010
debug: true,
11-
override: true,
1211
});
1312
if (result.error) {
1413
throw result.error;
1514
}
15+
1616
// uncomment to see the parsed result. It may include some credentials.
1717
// console.log(".env file parsed result");
1818
// console.log(result.parsed);
@@ -39,7 +39,7 @@ describe("Use OpenAI SDK directly", () => {
3939
expect(response.choices[0].message.content).toBeTruthy();
4040
});
4141

42-
it(`with image input with ${model}`, async () => {
42+
it(`image input with ${model}`, async () => {
4343
const openai = new OpenAI({
4444
apiKey: process.env.OPENAI_API_KEY,
4545
baseURL: process.env.OPENAI_BASE_URL,

0 commit comments

Comments
 (0)