mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Fix @httpd-client path resolving in httpd-api tests
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -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,6 +1,6 @@
|
||||
import { describe, test } from "vitest";
|
||||
|
||||
import { HttpdClient } from "../index";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import {
|
||||
aliceMainHead,
|
||||
aliceRemote,
|
||||
|
||||
@@ -12,6 +12,7 @@ export default defineConfig({
|
||||
alias: {
|
||||
"@tests": path.resolve("./tests"),
|
||||
"@app": path.resolve("./src"),
|
||||
"@httpd-client": path.resolve("./httpd-client"),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user