@jterrazz/test 6.4.1 → 6.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1556,8 +1556,9 @@ async function startApp(target, options) {
|
|
|
1556
1556
|
servicesMap[key] = svc;
|
|
1557
1557
|
}
|
|
1558
1558
|
const factoryResult = target.factory(servicesMap);
|
|
1559
|
-
const
|
|
1560
|
-
const
|
|
1559
|
+
const isComposite = Array.isArray(factoryResult.jobs);
|
|
1560
|
+
const honoApp = isComposite ? factoryResult.server : factoryResult;
|
|
1561
|
+
const jobs = isComposite ? factoryResult.jobs : void 0;
|
|
1561
1562
|
const database = orchestrator.getDatabase() ?? void 0;
|
|
1562
1563
|
const databases = orchestrator.getDatabases();
|
|
1563
1564
|
const runner = createSpecificationRunner({
|