Fixing an issue with a test case, was going down dev path.
This commit is contained in:
parent
4019b2df5b
commit
1de09689b5
|
@ -12,7 +12,7 @@ exports.fetchAppComponentDefinitions = async function(ctx) {
|
||||||
let componentManifests = await Promise.all(
|
let componentManifests = await Promise.all(
|
||||||
app.componentLibraries.map(async library => {
|
app.componentLibraries.map(async library => {
|
||||||
let manifest
|
let manifest
|
||||||
if (env.isDev()) {
|
if (env.isDev() && !env.isTest()) {
|
||||||
manifest = require(join(budibaseTempDir(), library, "manifest.json"))
|
manifest = require(join(budibaseTempDir(), library, "manifest.json"))
|
||||||
} else {
|
} else {
|
||||||
manifest = await fileSystem.getComponentLibraryManifest(appId, library)
|
manifest = await fileSystem.getComponentLibraryManifest(appId, library)
|
||||||
|
|
Loading…
Reference in New Issue