mi-gpt/tests/index.ts

17 lines
366 B
TypeScript
Raw Normal View History

2024-01-24 15:14:28 +00:00
import dotenv from "dotenv";
2024-01-25 18:06:22 +00:00
import { println } from "../src/utils/base";
import { kBannerASCII } from "../src/utils/string";
import { runWithDB } from "../src/services/db";
2024-01-30 15:40:31 +00:00
import { testDB } from "./db";
2024-02-24 12:13:25 +00:00
import { testSpeaker } from "./speaker";
2024-01-24 15:14:28 +00:00
dotenv.config();
async function main() {
2024-01-25 18:06:22 +00:00
println(kBannerASCII);
2024-02-24 12:13:25 +00:00
// testDB();
testSpeaker();
2024-01-24 15:14:28 +00:00
}
2024-01-25 18:06:22 +00:00
runWithDB(main);