inngest/Test Inngest Functions
Installs the Inngest CLI and tests found Inngest functions using either generated data or replay.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Version 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" | no | latest |
| function | The directory of the Inngest function to test. Defaults to the current directory. Example: "./functions/hello-world" | no | . |
| replay | If true, we'll replay events from your Inngest Cloud account instead of using generated event data | no | false |
| snapshot | The 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 | "" |
| prod | If replay is true, this flag determines whether to use the production or test workspace. Defaults to false (using test). | no | false |
| token | An 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 | "" |
Outputs
no outputs