From 4296e7f4d8de64a62dbf5e5d152b19ae25df489e Mon Sep 17 00:00:00 2001 From: adripo <26493496+adripo@users.noreply.github.com> Date: Mon, 21 Apr 2025 19:59:40 +0200 Subject: chore: rename missing files/conf from Hoarder to Karakeep (#1280) * refactor: Rename remaining project configuration from Hoarder to Karakeep * some fixes --------- Co-authored-by: Mohamed Bassem --- packages/e2e_tests/tests/api/assets.test.ts | 8 ++++---- packages/e2e_tests/tests/api/bookmarks.test.ts | 8 ++++---- packages/e2e_tests/tests/api/highlights.test.ts | 8 ++++---- packages/e2e_tests/tests/api/lists.test.ts | 8 ++++---- packages/e2e_tests/tests/api/tags.test.ts | 8 ++++---- packages/e2e_tests/tests/api/users.test.ts | 8 ++++---- 6 files changed, 24 insertions(+), 24 deletions(-) (limited to 'packages/e2e_tests/tests/api') diff --git a/packages/e2e_tests/tests/api/assets.test.ts b/packages/e2e_tests/tests/api/assets.test.ts index 8de3c411..5c294929 100644 --- a/packages/e2e_tests/tests/api/assets.test.ts +++ b/packages/e2e_tests/tests/api/assets.test.ts @@ -1,22 +1,22 @@ import { assert, beforeEach, describe, expect, inject, it } from "vitest"; -import { createHoarderClient } from "@karakeep/sdk"; +import { createKarakeepClient } from "@karakeep/sdk"; import { createTestUser, uploadTestAsset } from "../../utils/api"; describe("Assets API", () => { - const port = inject("hoarderPort"); + const port = inject("karakeepPort"); if (!port) { throw new Error("Missing required environment variables"); } - let client: ReturnType; + let client: ReturnType; let apiKey: string; beforeEach(async () => { apiKey = await createTestUser(); - client = createHoarderClient({ + client = createKarakeepClient({ baseUrl: `http://localhost:${port}/api/v1/`, headers: { "Content-Type": "application/json", diff --git a/packages/e2e_tests/tests/api/bookmarks.test.ts b/packages/e2e_tests/tests/api/bookmarks.test.ts index 91fbcc20..6c56f689 100644 --- a/packages/e2e_tests/tests/api/bookmarks.test.ts +++ b/packages/e2e_tests/tests/api/bookmarks.test.ts @@ -1,22 +1,22 @@ import { assert, beforeEach, describe, expect, inject, it } from "vitest"; -import { createHoarderClient } from "@karakeep/sdk"; +import { createKarakeepClient } from "@karakeep/sdk"; import { createTestUser } from "../../utils/api"; describe("Bookmarks API", () => { - const port = inject("hoarderPort"); + const port = inject("karakeepPort"); if (!port) { throw new Error("Missing required environment variables"); } - let client: ReturnType; + let client: ReturnType; let apiKey: string; beforeEach(async () => { apiKey = await createTestUser(); - client = createHoarderClient({ + client = createKarakeepClient({ baseUrl: `http://localhost:${port}/api/v1/`, headers: { "Content-Type": "application/json", diff --git a/packages/e2e_tests/tests/api/highlights.test.ts b/packages/e2e_tests/tests/api/highlights.test.ts index 1523dc91..4776d06d 100644 --- a/packages/e2e_tests/tests/api/highlights.test.ts +++ b/packages/e2e_tests/tests/api/highlights.test.ts @@ -1,22 +1,22 @@ import { beforeEach, describe, expect, inject, it } from "vitest"; -import { createHoarderClient } from "@karakeep/sdk"; +import { createKarakeepClient } from "@karakeep/sdk"; import { createTestUser } from "../../utils/api"; describe("Highlights API", () => { - const port = inject("hoarderPort"); + const port = inject("karakeepPort"); if (!port) { throw new Error("Missing required environment variables"); } - let client: ReturnType; + let client: ReturnType; let apiKey: string; beforeEach(async () => { apiKey = await createTestUser(); - client = createHoarderClient({ + client = createKarakeepClient({ baseUrl: `http://localhost:${port}/api/v1/`, headers: { "Content-Type": "application/json", diff --git a/packages/e2e_tests/tests/api/lists.test.ts b/packages/e2e_tests/tests/api/lists.test.ts index 2d6ab98c..caddfd87 100644 --- a/packages/e2e_tests/tests/api/lists.test.ts +++ b/packages/e2e_tests/tests/api/lists.test.ts @@ -1,22 +1,22 @@ import { beforeEach, describe, expect, inject, it } from "vitest"; -import { createHoarderClient } from "@karakeep/sdk"; +import { createKarakeepClient } from "@karakeep/sdk"; import { createTestUser } from "../../utils/api"; describe("Lists API", () => { - const port = inject("hoarderPort"); + const port = inject("karakeepPort"); if (!port) { throw new Error("Missing required environment variables"); } - let client: ReturnType; + let client: ReturnType; let apiKey: string; beforeEach(async () => { apiKey = await createTestUser(); - client = createHoarderClient({ + client = createKarakeepClient({ baseUrl: `http://localhost:${port}/api/v1/`, headers: { "Content-Type": "application/json", diff --git a/packages/e2e_tests/tests/api/tags.test.ts b/packages/e2e_tests/tests/api/tags.test.ts index 3355bc1e..3e3cacc0 100644 --- a/packages/e2e_tests/tests/api/tags.test.ts +++ b/packages/e2e_tests/tests/api/tags.test.ts @@ -1,22 +1,22 @@ import { beforeEach, describe, expect, inject, it } from "vitest"; -import { createHoarderClient } from "@karakeep/sdk"; +import { createKarakeepClient } from "@karakeep/sdk"; import { createTestUser } from "../../utils/api"; describe("Tags API", () => { - const port = inject("hoarderPort"); + const port = inject("karakeepPort"); if (!port) { throw new Error("Missing required environment variables"); } - let client: ReturnType; + let client: ReturnType; let apiKey: string; beforeEach(async () => { apiKey = await createTestUser(); - client = createHoarderClient({ + client = createKarakeepClient({ baseUrl: `http://localhost:${port}/api/v1/`, headers: { "Content-Type": "application/json", diff --git a/packages/e2e_tests/tests/api/users.test.ts b/packages/e2e_tests/tests/api/users.test.ts index fb33fdca..096e4b54 100644 --- a/packages/e2e_tests/tests/api/users.test.ts +++ b/packages/e2e_tests/tests/api/users.test.ts @@ -1,22 +1,22 @@ import { beforeEach, describe, expect, inject, it } from "vitest"; -import { createHoarderClient } from "@karakeep/sdk"; +import { createKarakeepClient } from "@karakeep/sdk"; import { createTestUser } from "../../utils/api"; describe("Users API", () => { - const port = inject("hoarderPort"); + const port = inject("karakeepPort"); if (!port) { throw new Error("Missing required environment variables"); } - let client: ReturnType; + let client: ReturnType; let apiKey: string; beforeEach(async () => { apiKey = await createTestUser(); - client = createHoarderClient({ + client = createKarakeepClient({ baseUrl: `http://localhost:${port}/api/v1/`, headers: { "Content-Type": "application/json", -- cgit v1.2.3-70-g09d2