Skip to content

Commit

Permalink
mock-chrome is a repo package
Browse files Browse the repository at this point in the history
  • Loading branch information
turbocrime committed Feb 26, 2025
1 parent c3520e3 commit 935894c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/transport-chrome/src/session-client.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { JsonValue } from '@bufbuild/protobuf';
import { ConnectError } from '@connectrpc/connect';
import { errorToJson } from '@connectrpc/connect/protocol-connect';
import { mockChannel, MockedChannel, MockedPort } from '@penumbra-zone/mock-chrome/runtime/connect';
import { mockChannel, MockedChannel, MockedPort } from '@repo/mock-chrome/runtime/connect';
import type { TransportMessage, TransportStream } from '@penumbra-zone/transport-dom/messages';
import { afterEach, beforeEach, describe, expect, it, type Mock, onTestFinished, vi } from 'vitest';
import { ChannelLabel, nameConnection } from './channel-names.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/transport-chrome/src/session-manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
mockChannel,
type MockedChannel,
type MockSendersImpl,
} from '@penumbra-zone/mock-chrome/runtime/connect';
} from '@repo/mock-chrome/runtime/connect';
import type { ChannelHandlerFn } from '@penumbra-zone/transport-dom/adapter';
import { beforeEach, describe, expect, it, type MockedFunction, vi } from 'vitest';
import { ChannelLabel, nameConnection } from './channel-names.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/transport-chrome/src/with-dom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
} from '@penumbra-zone/transport-dom/messages';

import ReadableStream from '@penumbra-zone/transport-dom/ReadableStream.from';
import { mockChannel, MockedChannel } from '@penumbra-zone/mock-chrome/runtime/connect';
import { mockChannel, MockedChannel } from '@repo/mock-chrome/runtime/connect';
import { lastResult } from './test-utils/last-result.js';
import { PortStreamSink } from './stream.js';
import { isTransportInitChannel } from './message.js';
Expand Down

0 comments on commit 935894c

Please sign in to comment.