• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Overview
  • Library

    • Getting started
    • Array
    • Result
    • Dependency injection
    • Resource management
    • Task
    • Type
    • Conventions
  • Local-first

    • Getting started
    • Playgrounds
    • Examples
    • Owners
    • Relay
    • Migrations
    • Time travel
    • Indexes
    • Protocol
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

API reference › @evolu/common › Worker › testCreateSharedWorker

function testCreateSharedWorker<Input, Output>(): TestSharedWorker<
  Input,
  Output
>;

Defined in: packages/common/src/Worker.ts:353

Creates a connected TestSharedWorker for testing.

The returned worker includes self and connect so tests can exercise the full worker ↔ client pipeline without a real worker thread.

Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server