fix #878 #1072
Annotations
4 errors
Run yarn test:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts#L145
AssertionError: expected { …(4) } to strictly equal { …(4) }
- Expected
+ Received
Object {
"dependencies": Object {
"postgresql": Object {
"global": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"global",
"postgresql",
"username",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "username",
"type": "field",
"value": "admin",
},
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"global",
"postgresql",
"password",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "password",
"type": "field",
"value": "xxx",
},
],
"main": Array [
Object {
"description": undefined,
"fieldType": "checkbox",
"helmValuesPath": Array [
"postgresql",
"enabled",
],
"isReadonly": false,
"title": "enabled",
"type": "field",
"value": true,
},
],
},
},
"disabledDependencies": Array [],
"global": Array [
Object {
"description": undefined,
"fieldType": "number field",
"helmValuesPath": Array [
"global",
"c",
],
"isInteger": false,
"isReadonly": false,
"minimum": undefined,
"title": "c",
"type": "field",
"value": 2,
},
],
"main": Array [
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [
"services",
],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"services",
"a",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "a",
"type": "field",
"value": "foo",
},
],
+ "title": undefined,
"type": "group",
},
],
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts:145:21
|
Run yarn test:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts#L282
AssertionError: expected { main: [ { …(7) }, { …(10) } ], …(3) } to strictly equal { main: [ { …(6) }, { …(10) } ], …(3) }
- Expected
+ Received
Object {
"dependencies": Object {},
"disabledDependencies": Array [],
"global": Array [
Object {
"description": undefined,
"fieldType": "number field",
"helmValuesPath": Array [
"global",
"c",
],
"isInteger": false,
"isReadonly": false,
"minimum": undefined,
"title": "c",
"type": "field",
"value": 2,
},
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"global",
"foo",
"username",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "username",
"type": "field",
"value": "value of global.foo.username",
},
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"global",
"foo",
"password",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "password",
"type": "field",
"value": "value of global.foo.password",
},
],
"main": Array [
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [
"services",
],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"services",
"a",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "a",
"type": "field",
"value": "value of services.a",
},
],
+ "title": undefined,
"type": "group",
},
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"foo",
"b",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "b",
"type": "field",
"value": "value of foo.b",
},
],
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootForm.test.ts:282:21
|
Run yarn test:
src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts#L66
AssertionError: expected { type: 'group', …(6) } to strictly equal { type: 'group', …(5) }
- Expected
+ Received
Object {
"canAdd": false,
"canRemove": false,
"description": undefined,
"helmValuesPath": Array [],
"nodes": Array [
Object {
"description": undefined,
"doRenderAsTextArea": false,
"fieldType": "text field",
"helmValuesPath": Array [
"a",
],
"isReadonly": false,
"isSensitive": false,
"pattern": undefined,
"title": "a",
"type": "field",
"value": "foo",
},
Object {
"description": undefined,
"fieldType": "select",
"helmValuesPath": Array [
"b",
],
"isReadonly": false,
"options": Array [
1,
2,
3,
],
"selectedOptionIndex": 1,
"title": "b",
"type": "field",
},
],
+ "title": undefined,
"type": "group",
}
❯ src/core/usecases/launcher/decoupledLogic/computeRootForm/computeRootFormFieldGroup.test.ts:66:21
|
Run yarn test
Process completed with exit code 1.
|
Loading