inngest/Test Inngest Functions

Installs the Inngest CLI and tests found Inngest functions using either generated data or replay.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionVersion of the Inngest CLI to install. If unspecified or set to "latest", the latest available Inngset CLI version for the target platform will be installed. Example: "latest" or "1.5.2"nolatest
functionThe directory of the Inngest function to test. Defaults to the current directory. Example: "./functions/hello-world"no.
replayIf true, we'll replay events from your Inngest Cloud account instead of using generated event datanofalse
snapshotThe path - relative to the function dir - to the file containing event data to use for testing. Defaults to empty (""). You can generate and save event data for this purpose using `inngest run --snapshot`.no""
prodIf replay is true, this flag determines whether to use the production or test workspace. Defaults to false (using test).nofalse
tokenAn auth token which will be used to authenticate with the Inngest CLI using `inngest login`. Required if replaying events from your Inngest Cloud account.no""

no outputs