Interface: DevServerConfig
testing.DevServerConfig
Configuration for the Temporal CLI Dev Server.
Properties
dbFilename
• Optional dbFilename: string
Sqlite DB filename if persisting or non-persistent if none (default).
executable
• Optional executable: EphemeralServerExecutable
extraArgs
• Optional extraArgs: string[]
Extra args to pass to the executable command.
Note that the Dev Server implementation may be changed to another one in the future. Therefore, there is no
guarantee that Dev Server options, and particularly those provided through the extraArgs array, will continue to
be supported in the future.
ip
• Optional ip: string
IP to bind to.
Default
localhost
log
• Optional log: Object
Log format and level
Default
{ format: "pretty", level" "warn" }
Type declaration
| Name | Type |
|---|---|
format | string |
level | string |
namespace
• Optional namespace: string
Namespace to use - created at startup.
Default
"default"
port
• Optional port: number
Port to listen on; defaults to find a random free port.
searchAttributes
• Optional searchAttributes: SearchAttributeKey<SearchAttributeType>[]
Search attributes to be registered with the dev server.
type
• type: "dev-server"
ui
• Optional ui: boolean
Whether to enable the UI.
Default
true if uiPort is set; defaults to false otherwise.
uiPort
• Optional uiPort: number
Port to listen on for the UI; if ui is true, defaults to port + 1000.