LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

zapier-test

Run Zapier integration tests

TLDR

Run all tests
$ zapier test
copy
Run tests matching a pattern
$ zapier test --grep "[pattern]"
copy
Run with a custom timeout
$ zapier test --timeout [5000]
copy
Run with environment variables
$ CLIENT_ID=[1234] CLIENT_SECRET=[abcd] zapier test
copy

SYNOPSIS

zapier test [options]

DESCRIPTION

zapier test runs the integration tests defined in the test directory using the Mocha test runner. It sets up the Zapier test environment with extra variables compared to running `npm test` directly. Use it to validate triggers, actions, and authentication before deploying your integration.

PARAMETERS

--grep pattern

Run only tests matching the given pattern.
--timeout ms
Test timeout in milliseconds.

SEE ALSO

Copied to clipboard
Kai