TestKitOptions
Defined in: src/testkit/TestKit.ts:6
Extends
Section titled “Extends”Properties
Section titled “Properties”config?
Section titled “config?”
readonlyoptionalconfig?:ConfigObject|Config
Defined in: src/ActorSystem.ts:45
Application config. Accepts:
- a prebuilt
Config(highest precedence layered on top of reference); - a plain JS object of overrides (converted via Config.fromObject);
- omitted — reference defaults +
application.confin CWD are used. Constructor settings (logger,logLevel,dispatcher) still win over anything in config — they are explicit code overrides.
Inherited from
Section titled “Inherited from”configFile?
Section titled “configFile?”
readonlyoptionalconfigFile?:string
Defined in: src/ActorSystem.ts:47
Explicit path to application.conf; overrides ACTOR_TS_CONFIG + CWD lookup.
Inherited from
Section titled “Inherited from”ActorSystemSettings.configFile
dispatcher?
Section titled “dispatcher?”
readonlyoptionaldispatcher?:Dispatcher
Defined in: src/ActorSystem.ts:34
Inherited from
Section titled “Inherited from”ActorSystemSettings.dispatcher
logger?
Section titled “logger?”
readonlyoptionallogger?:Logger
Defined in: src/ActorSystem.ts:32
Inherited from
Section titled “Inherited from”logLevel?
Section titled “logLevel?”
readonlyoptionallogLevel?:LogLevel
Defined in: src/ActorSystem.ts:33
Inherited from
Section titled “Inherited from”persistence?
Section titled “persistence?”
readonlyoptionalpersistence?:object
Defined in: src/ActorSystem.ts:59
Persistence overrides — wire a real journal / snapshot store at system creation time instead of reaching into the extension after the fact. Either field is independent; omit one to keep the in-memory default for that slot.
Equivalent to: const sys = ActorSystem.create(name); sys.extension(PersistenceExtensionId).setJournal(journal); sys.extension(PersistenceExtensionId).setSnapshotStore(snapshotStore);
journal?
Section titled “journal?”
readonlyoptionaljournal?:Journal
snapshotStore?
Section titled “snapshotStore?”
readonlyoptionalsnapshotStore?:SnapshotStore
Inherited from
Section titled “Inherited from”ActorSystemSettings.persistence
quiet?
Section titled “quiet?”
readonlyoptionalquiet?:boolean
Defined in: src/testkit/TestKit.ts:8
When true, install a NoopLogger if the caller didn’t provide one.
scheduler?
Section titled “scheduler?”
readonlyoptionalscheduler?:Scheduler
Defined in: src/ActorSystem.ts:36
Inject a custom scheduler — typically a ManualScheduler in tests.