Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix @httpd-client path resolving in httpd-api tests
Sebastian Martinez committed 2 years ago
commit 00f752a990a416013767bc398dd9a2d8b9c2372c
parent 829532fe941d64ba983343c96fd0bfa52747f309
3 files changed +3 -2
modified httpd-client/tests/client.test.ts
@@ -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",
modified httpd-client/tests/project.test.ts
@@ -1,6 +1,6 @@
import { describe, test } from "vitest";

-
import { HttpdClient } from "../index";
+
import { HttpdClient } from "@httpd-client";
import {
  aliceMainHead,
  aliceRemote,
modified httpd-client/vite.config.ts
@@ -12,6 +12,7 @@ export default defineConfig({
    alias: {
      "@tests": path.resolve("./tests"),
      "@app": path.resolve("./src"),
+
      "@httpd-client": path.resolve("./httpd-client"),
    },
  },
});