Fix @httpd-client path resolving in httpd-api tests

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-07-12 10:58:45 +02:00
parent 829532fe94
commit 00f752a990
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { describe, test } from "vitest";
import { HttpdClient } from "../index";
import { HttpdClient } from "@httpd-client";
const api = new HttpdClient({
hostname: "127.0.0.1",
+1 -1
View File
@@ -1,6 +1,6 @@
import { describe, test } from "vitest";
import { HttpdClient } from "../index";
import { HttpdClient } from "@httpd-client";
import {
aliceMainHead,
aliceRemote,
+1
View File
@@ -12,6 +12,7 @@ export default defineConfig({
alias: {
"@tests": path.resolve("./tests"),
"@app": path.resolve("./src"),
"@httpd-client": path.resolve("./httpd-client"),
},
},
});