From 1de09689b56df8ba2c623f55b6fc82a656f75218 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 25 Mar 2021 11:41:41 +0000 Subject: [PATCH] Fixing an issue with a test case, was going down dev path. --- packages/server/src/api/controllers/component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)