feat: json schema valid for mind-map, network... #78
Annotations
2 errors
build
Process completed with exit code 1.
|
__tests__/charts.spec.ts > charts schema check > should check schema for dual-axes chart:
__tests__/charts.spec.ts#L15
AssertionError: expected { type: 'object', …(3) } to deeply equal { …(4) }
- Expected
+ Received
@@ -18,11 +18,11 @@
"default": 400,
"description": "Set the height of chart, default is 400.",
"type": "number",
},
"series": {
- "description": "Series for dual axes chart, such as, [{ type: 'column', data: [91.9, 99.1, 101.6, 114.4, 121],axisYTitle: '销售额' }, { type: 'line', data: [0.055, 0.06, 0.062, 0.07, 0.075], 'axisYTitle': '利润率' }].",
+ "description": "Series for dual axes chart, such as, [{ type: 'column', data: [91.9, 99.1, 101.6, 114.4, 121], axisYTitle: '销售额' }, { type: 'line', data: [0.055, 0.06, 0.062, 0.07, 0.075], 'axisYTitle': '利润率' }].",
"items": {
"properties": {
"axisYTitle": {
"default": "",
"description": "Set the y-axis title of the chart series, such as, axisYTitle: '销售额'.",
❯ __tests__/charts.spec.ts:15:22
|