Skip to content
Snippets Groups Projects
Commit 719f423f authored by thucpn's avatar thucpn
Browse files

update mock

parent ac99e6eb
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ vi.mock("got", () => ({ ...@@ -15,7 +15,7 @@ vi.mock("got", () => ({
describe("Image Generator Tool", () => { describe("Image Generator Tool", () => {
test("generates image from prompt", async () => { test("generates image from prompt", async () => {
const imgTool = imageGenerator({ const imgTool = imageGenerator({
apiKey: "mock-stability-key", apiKey: process.env.STABILITY_API_KEY!,
outputDir: "output", outputDir: "output",
fileServerURLPrefix: "http://localhost:3000", fileServerURLPrefix: "http://localhost:3000",
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment