When I ran a Jest test for a action that uses z.stashFile , I got an error message:
Error: No deploy key found. Make sure you set the `ZAPIER_DEPLOY_KEY` environment variable to write tests that rely on the RPC API (i.e. z.stashFile)
Where do I find or create this key?
Once I find this value, I can add it to the .env file, correct?
Best answer by connorz
Hey @craibuc ,
You can create a Deploy Key by following these steps:
Visit https://developer.zapier.com Sign into your account Click your profile in the upper-right corner Click “Settings” Click “Deploy Keys” on the left Click to create a new key Then, as you mentioned, you should be clear to add that key as an environment variable.
Hope this helps!
View original