diff --git a/packages/server/src/api/controllers/component.js b/packages/server/src/api/controllers/component.js index 35a91fe4eb..7610bc6fa4 100644 --- a/packages/server/src/api/controllers/component.js +++ b/packages/server/src/api/controllers/component.js @@ -12,7 +12,7 @@ exports.fetchAppComponentDefinitions = async function(ctx) { let componentManifests = await Promise.all( app.componentLibraries.map(async library => { let manifest - if (env.isDev()) { + if (env.isDev() && !env.isTest()) { manifest = require(join(budibaseTempDir(), library, "manifest.json")) } else { manifest = await fileSystem.getComponentLibraryManifest(appId, library)