We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b03009 commit dd9ad6eCopy full SHA for dd9ad6e
src/index.ts
@@ -105,6 +105,8 @@ export class Loz {
105
this.llmAPI = new OpenAiAPI();
106
this.config.set("api", "openai");
107
}
108
+
109
+ return true;
110
111
112
// load config from JSON file
tests/test.ts
@@ -2,6 +2,16 @@ import { Loz } from "../src/index";
2
import { expect } from "chai";
3
import "mocha";
4
5
+describe("Loz.init", () => {
6
+ it("should return true", () => {
7
+ let loz = new Loz();
8
9
+ loz.init().then((result) => {
10
+ expect(result).to.equal(true);
11
+ });
12
13
+});
14
15
describe("Loz.chekcEnv()", () => {
16
it("should return true", () => {
17
let loz = new Loz();
0 commit comments