Skip to content

Commit 2d1f060

Browse files
committed
fix(client): update test imports to use correct module paths
The client refactoring moved OpenAlexApiError to internal/errors and OpenAlexClientConfig to internal/client-config. Update the unit test imports to use these new locations instead of expecting re-exports from the main client module.
1 parent ca34183 commit 2d1f060

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/client/src/client.unit.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ Object.defineProperty(global, "fetch", {
1616
import type { OpenAlexResponse } from "@bibgraph/types";
1717
import { beforeEach,describe, expect, it, vi } from "vitest";
1818

19-
import {
20-
OpenAlexApiError,
21-
OpenAlexBaseClient,
22-
type OpenAlexClientConfig,
23-
} from "./client";
19+
import { OpenAlexBaseClient } from "./client";
20+
import type { OpenAlexClientConfig } from "./internal/client-config";
21+
import { OpenAlexApiError } from "./internal/errors";
2422

2523
describe("OpenAlexBaseClient", () => {
2624
let client: OpenAlexBaseClient;

0 commit comments

Comments
 (0)