API reference › @evolu/common › Worker › testCreateWorker
function testCreateWorker<Input, Output>(): TestWorker<Input, Output>;
Defined in: packages/common/src/Worker.ts:334
Creates a connected TestWorker for testing.
The returned worker includes its typed TestWorker.self counterpart, so tests can exercise dedicated worker communication without a real thread.