You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/07/01 17:31:45 UTC
[camel-karavan] branch main updated: Fix #810
This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 71650638 Fix #810
71650638 is described below
commit 71650638d682009b7dd224a952331202e3cd2909
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Sat Jul 1 13:31:36 2023 -0400
Fix #810
---
karavan-core/test/expression.spec.ts | 1 -
karavan-core/test/getElementPropertiesByName.spec.ts | 2 +-
karavan-core/test/intercept.spec.ts | 4 ----
3 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/karavan-core/test/expression.spec.ts b/karavan-core/test/expression.spec.ts
index f310e7b7..0a408a99 100644
--- a/karavan-core/test/expression.spec.ts
+++ b/karavan-core/test/expression.spec.ts
@@ -50,7 +50,6 @@ describe('Expression to yaml', () => {
i1.spec.flows?.push(new RouteDefinition({from: flow1}));
const yaml1 = CamelDefinitionYaml.integrationToYaml(i1);
- // console.log(yaml1)
});
});
\ No newline at end of file
diff --git a/karavan-core/test/getElementPropertiesByName.spec.ts b/karavan-core/test/getElementPropertiesByName.spec.ts
index a51526e7..0ed30a84 100644
--- a/karavan-core/test/getElementPropertiesByName.spec.ts
+++ b/karavan-core/test/getElementPropertiesByName.spec.ts
@@ -24,7 +24,7 @@ describe('getElementPropertiesByName', () => {
it('getElementPropertiesByName 1', () => {
const p: PropertyMeta[] = CamelDefinitionApiExt.getElementPropertiesByName("json");
- expect(p.length).to.equal(24);
+ expect(p.length).to.equal(25);
});
diff --git a/karavan-core/test/intercept.spec.ts b/karavan-core/test/intercept.spec.ts
index 07fcf079..6f5a31ab 100644
--- a/karavan-core/test/intercept.spec.ts
+++ b/karavan-core/test/intercept.spec.ts
@@ -55,12 +55,8 @@ describe('Intercept', () => {
i.spec.flows?.push(routeConfiguration);
const yaml = CamelDefinitionYaml.integrationToYaml(i);
- // console.log(yaml);
const i2 = CamelDefinitionYaml.yamlToIntegration("demo.yaml", yaml);
- console.log(i.spec.flows?.[0].intercept);
- console.log("------");
- console.log(i2.spec.flows?.[0].intercept);
});
});
\ No newline at end of file