style: prettier formatting fixes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gavrielc
2026-04-09 01:40:52 +03:00
parent 6f2a7314d0
commit b36f127acc
3 changed files with 7 additions and 12 deletions

View File

@@ -29,7 +29,9 @@ function now() {
}
/** Create a mock ChannelAdapter for testing. */
function createMockAdapter(channelType: string): ChannelAdapter & { delivered: OutboundMessage[]; inbound: InboundMessage[] } {
function createMockAdapter(
channelType: string,
): ChannelAdapter & { delivered: OutboundMessage[]; inbound: InboundMessage[] } {
const delivered: OutboundMessage[] = [];
const inbound: InboundMessage[] = [];
let setupConfig: ChannelSetup | null = null;
@@ -74,9 +76,8 @@ describe('channel registry', () => {
});
it('should register and retrieve channel adapters', async () => {
const { registerChannelAdapter, getRegisteredChannelNames, getChannelContainerConfig } = await import(
'./channel-registry.js'
);
const { registerChannelAdapter, getRegisteredChannelNames, getChannelContainerConfig } =
await import('./channel-registry.js');
registerChannelAdapter('test-channel', {
factory: () => createMockAdapter('test'),