FDK code coverage 80%

Unable to run fdk pack on skeleton serverless project created with the CLI. The fdk pack command seems to require 80% code coverage via tests, even when generating an empty shell project. Is there a configuration to change this setting? With no real code to test, I’m unsure how i’d work around this.

Packing failed since code coverage is less than 80%. Ensure each component has at least 80% coverage for submission to Freshworks Marketplace.

Hi @Alan_Hickey,

Welcome to the Freshworks Developer Community! :tada:

For testing and custom apps, the code coverage is not required. This has been recently mandated to ensure the apps are tested before publishing to the Marketplace for public marketplace apps.

You can skip the code coverage check while packing the app with the following command:

fdk pack --skip-coverage

or

fdk pack -s

Refer to the documentation for more information on the usage.

Thanks very much @Raviraj , that’s solved the problem for me!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.