chore: do not load in tests

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2023-09-14 11:09:27 +02:00
parent 0edd307a69
commit 4223e183d2
+1 -1
View File
@@ -169,7 +169,7 @@ const app = createApp({
/* HIGHLY EXPERIMENTAL. DO NOT USE THIS IN YOUR APP */
let extensionTree: ExtensionTree | undefined;
if (process.env.NODE_ENV === 'test') {
if (process.env.NODE_ENV !== 'test') {
extensionTree = createExtensionTree({
config: ConfigReader.fromConfigs(await defaultConfigLoader()),
});