diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/cdp/session-call-test.ts | 2 | ||||
| -rw-r--r-- | test/cdp/session-evaluate-test.ts (renamed from test/cdp/evaluate-test.ts) | 2 | ||||
| -rw-r--r-- | test/daemon/queue-test.ts (renamed from test/cdp/event-queue-test.ts) | 3 | ||||
| -rw-r--r-- | test/domains/fake-client.ts | 2 | ||||
| -rw-r--r-- | test/manual/window-binding-test.ts | 2 |
5 files changed, 5 insertions, 6 deletions
diff --git a/test/cdp/session-call-test.ts b/test/cdp/session-call-test.ts index 6a14e17..ef9a725 100644 --- a/test/cdp/session-call-test.ts +++ b/test/cdp/session-call-test.ts @@ -2,7 +2,7 @@ import { test, describe } from "node:test"; import assert from "node:assert/strict"; import { decodeResult } from "../../src/cdp/commands"; import { createCdpSession } from "../../src/cdp/session"; -import type { CdpTransport } from "../../src/cdp/transport"; +import type { CdpTransport } from "../../src/cdp/types"; import type { CdpEvent } from "../../src/cdp/types"; import { type Result, ok, err } from "../../src/util/result"; import { type CdpError, cdpError } from "../../src/cdp/errors"; diff --git a/test/cdp/evaluate-test.ts b/test/cdp/session-evaluate-test.ts index cffd513..c03a4cb 100644 --- a/test/cdp/evaluate-test.ts +++ b/test/cdp/session-evaluate-test.ts @@ -1,6 +1,6 @@ import { test, describe } from "node:test"; import assert from "node:assert/strict"; -import { evaluateJson } from "../../src/cdp/evaluate"; +import { evaluateJson } from "../../src/cdp/session"; import type { CdpSession } from "../../src/cdp/session"; import { err, ok } from "../../src/util/result"; diff --git a/test/cdp/event-queue-test.ts b/test/daemon/queue-test.ts index 771ce8e..6ea95f8 100644 --- a/test/cdp/event-queue-test.ts +++ b/test/daemon/queue-test.ts @@ -1,7 +1,6 @@ import { test, describe } from "node:test"; import assert from "node:assert/strict"; -import { makeEventQueue } from "../../src/cdp/event-queue"; -import { rejectAllPending, sendWithTimeout, type Pending } from "../../src/cdp/pending-requests"; +import { makeEventQueue, rejectAllPending, sendWithTimeout, type Pending } from "../../src/daemon/queue"; describe("event queue iteration", () => { test("yields pushed events in order", async () => { diff --git a/test/domains/fake-client.ts b/test/domains/fake-client.ts index 6bf2e54..f8a0c81 100644 --- a/test/domains/fake-client.ts +++ b/test/domains/fake-client.ts @@ -1,7 +1,7 @@ import { createCdpSession, type CdpSession } from "../../src/cdp/session"; import { createOwnershipRegistry, type OwnershipRegistry } from "../../src/cdp/ownership"; import { type CdpError, cdpError } from "../../src/cdp/errors"; -import type { CdpTransport } from "../../src/cdp/transport"; +import type { CdpTransport } from "../../src/cdp/types"; import type { CdpEvent } from "../../src/cdp/types"; import type { BrowserClient } from "../../src/client"; import { createMutex } from "../../src/util/mutex"; diff --git a/test/manual/window-binding-test.ts b/test/manual/window-binding-test.ts index cad526a..d040614 100644 --- a/test/manual/window-binding-test.ts +++ b/test/manual/window-binding-test.ts @@ -1,6 +1,6 @@ import { createBrowserClient } from "../../src/client"; import { createOwnershipRegistry } from "../../src/cdp/ownership"; -import type { CdpTransport } from "../../src/cdp/transport"; +import type { CdpTransport } from "../../src/cdp/types"; import type { CdpEvent } from "../../src/cdp/types"; import { ok, type Result } from "../../src/util/result"; import type { CdpError } from "../../src/cdp/errors"; |
