Skip to content

Commit 8b649eb

Browse files
author
pipeline
committed
v16.4.46 is released
1 parent 266fd70 commit 8b649eb

File tree

225 files changed

+2394
-1130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

225 files changed

+2394
-1130
lines changed

controls/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-base",
3-
"version": "16.4.40",
3+
"version": "16.4.42",
44
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/base/spec/intl/date-parser.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ describe('DateParser', () => {
861861
it('year only format input returns correct year value',()=>{
862862
let tFormatter: Date = DateParser.dateParser('en', { format:'yy',calendar:'islamic' }, cldrData)('40');
863863
let iFormatter: Date = DateParser.dateParser('en', { format:'y',calendar:'islamic' }, cldrData)('1440');
864-
expect(iFormatter.getFullYear()).toBe(2018);
864+
expect(iFormatter.getFullYear()).toBe(new Date().getFullYear());
865865
});
866866
it('full skeletom eleton returns proper value',()=>{
867867
let iFormatter: Date = DateParser.dateParser('en', { skeleton: 'full',calendar:'islamic' }, cldrData)('Tuesday, Safar 19, 1437 AH');

controls/calendars/CHANGELOG.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22

33
## [Unreleased]
44

5-
## 16.4.45 (2018-12-24)
5+
## 16.4.46 (2019-01-02)
66

7-
### DatePicker
7+
### TimePicker
88

9-
#### Bug Fixes
9+
#### New Features
1010

11-
- DatePicker will allow assigning string value when type system configuration is disabled.
11+
- Pop-up positioning support has been provided.
1212

13-
### TimePicker
13+
## 16.4.45 (2019-01-02)
14+
15+
### DatePicker
1416

1517
#### Bug Fixes
1618

17-
- Pop-up positioning support has been provided.
19+
- DatePicker will allow assigning string value when type system configuration is disabled.
1820

1921
## 16.4.44 (2018-12-24)
2022

controls/calendars/dist/ej2-calendars.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/calendars/dist/ej2-calendars.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/calendars/dist/es6/ej2-calendars.es2015.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/calendars/dist/es6/ej2-calendars.es2015.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/calendars/dist/es6/ej2-calendars.es5.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/calendars/dist/es6/ej2-calendars.es5.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/calendars/dist/global/ej2-calendars.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/calendars/dist/global/ej2-calendars.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/calendars/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-calendars",
3-
"version": "16.4.44",
3+
"version": "16.4.45",
44
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/calendars/src/timepicker/timepicker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,6 +1885,7 @@ export class TimePicker extends Component<HTMLElement> implements IInput {
18851885
if (args.popup.position.X === 'center' && args.popup.position.Y === 'center') {
18861886
this.popupObj.relateTo = this.anchor = document.body;
18871887
this.popupObj.offsetY = 0;
1888+
this.popupObj.offsetX = 0;
18881889
this.popupObj.targetType = 'container';
18891890
this.popupObj.collision = { X: 'fit', Y: 'fit' };
18901891
}

controls/charts/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 16.4.45 (2018-12-24)
5+
## 16.4.45 (2019-01-02)
66

77
### Chart
88

controls/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-charts",
3-
"version": "16.4.44",
3+
"version": "16.4.45",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/spec/chart/indicators/accumulation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ describe('Chart', () => {
427427
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
428428
expect((<HTMLElement>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
429429
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
430-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5AccumulationDistribution : -10.385').toBe(true);
430+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5AccumulationDistribution : -10.385').toBe(true);
431431
//expect(text2.textContent == 'AccumulationDistribution : -10.385').toBe(true);
432432
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
433433
done();

controls/charts/spec/chart/indicators/atrindicator.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ describe('Chart', () => {
422422
let text2: Element = group.childNodes[2] as HTMLElement;
423423
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
424424
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
425-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
425+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
426426
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
427427
done();
428428

controls/charts/spec/chart/indicators/bollinger.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ describe('Chart', () => {
403403
let text2: Element = group.childNodes[2] as HTMLElement;
404404
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
405405
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
406-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
406+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
407407
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
408408
done();
409409

controls/charts/spec/chart/indicators/emaindicator.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ describe('Chart', () => {
423423
let text2: Element = group.childNodes[2] as HTMLElement;
424424
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
425425
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
426-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
426+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
427427
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
428428
done();
429429

controls/charts/spec/chart/indicators/macd.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ describe('Chart', () => {
458458
let text2: Element = group.childNodes[2] as HTMLElement;
459459
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
460460
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
461-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
461+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
462462
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
463463
done();
464464

controls/charts/spec/chart/indicators/momentum.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ describe('Chart', () => {
430430
let text2: Element = group.childNodes[2] as HTMLElement;
431431
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
432432
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
433-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5UpperLine : 100').toBe(true);
433+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5UpperLine : 100').toBe(true);
434434
// - solve this- expect(text2.textContent == 'UpperLine : 100').toBe(true);
435435
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
436436
done();

controls/charts/spec/chart/indicators/rsi.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ describe('Chart', () => {
416416
let text2: Element = group.childNodes[2] as HTMLElement;
417417
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
418418
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
419-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5LowerLine : 80UpperLine : 20').toBe(true);
419+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5LowerLine : 80UpperLine : 20').toBe(true);
420420
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
421421
done();
422422

controls/charts/spec/chart/indicators/stochastic.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ describe('Chart', () => {
505505
let text2: Element = group.childNodes[2] as HTMLElement;
506506
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
507507
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
508-
expect(text1.textContent == 'FebgoldHigh : 150.99Low : 60.23Open : 120.55Close : 70.9UpperLine : 150LowerLine : 30').toBe(true);
508+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 150.99Low : 60.23Open : 120.55Close : 70.9UpperLine : 150LowerLine : 30').toBe(true);
509509
//expect(text2.textContent == 'UpperLine : 150').toBe(true);
510510
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
511511
done();

controls/charts/spec/chart/indicators/technicalindicator.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ describe('Chart', () => {
422422
let text2: Element = group.childNodes[2] as HTMLElement;
423423
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
424424
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
425-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
425+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
426426
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
427427
done();
428428

controls/charts/spec/chart/indicators/tmaindicator.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ describe('Chart', () => {
423423
let text2: Element = group.childNodes[2] as HTMLElement;
424424
expect(path.getAttribute('fill') == 'rgba(0, 8, 22, 0.75)').toBe(true);
425425
expect((<Element>text1.childNodes[0]).getAttribute('fill') == '#ffffff').toBe(true);
426-
expect(text1.textContent == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
426+
expect(text1.textContent.replace(/\u200E/g, '') == 'FebgoldHigh : 6.3Low : 1.3Open : 4.8Close : 2.5').toBe(true);
427427
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
428428
done();
429429

controls/charts/spec/chart/series/box-series.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ describe('Chart Control - Box and Whisker Series', () => {
668668
expect(path.getAttribute('d') != '' || ' ').toBe(true);
669669
expect(headerPath.getAttribute('d') != '' || ' ').toBe(true);
670670
expect(group.childNodes.length == 4).toBe(true);
671-
expect(text1.textContent == 'TestingOutliers : 50').toBe(true)
671+
expect(text1.textContent.replace(/\u200E/g, '') == 'TestingOutliers : 50').toBe(true)
672672
svg = getElement('container_Series_0_Point_1_Trackball_0');
673673
expect(svg != null).toBe(true);
674674
targetElement = getElement('container_Series_0_Point_2_Symbol');
@@ -701,7 +701,7 @@ describe('Chart Control - Box and Whisker Series', () => {
701701
expect(path.localName == 'path').toBe(true);
702702
expect(path.getAttribute('d') != '' || ' ').toBe(true);
703703
expect(group.childNodes.length == 4).toBe(true);
704-
expect(text1.textContent == 'DevelopmentMaximum : 38Q3 : 33Median : 28Q1 : 25Minimum : 22').toBe(true);
704+
expect(text1.textContent.replace(/\u200E/g, '') == 'DevelopmentMaximum : 38Q3 : 33Median : 28Q1 : 25Minimum : 22').toBe(true);
705705
done();
706706
};
707707
chartObj.tooltip.enable = true;
@@ -723,7 +723,7 @@ describe('Chart Control - Box and Whisker Series', () => {
723723
expect(path.localName == 'path').toBe(true);
724724
expect(path.getAttribute('d') != '' || ' ').toBe(true);
725725
expect(group.childNodes.length == 4).toBe(true);
726-
expect(text1.textContent == 'FinanceMaximum : 45Q3 : 37Median : 34Q1 : 28Minimum : 26').toBe(true);
726+
expect(text1.textContent.replace(/\u200E/g, '') == 'FinanceMaximum : 45Q3 : 37Median : 34Q1 : 28Minimum : 26').toBe(true);
727727
done();
728728
};
729729
chartObj.refresh(); unbindResizeEvents(chartObj);
@@ -747,7 +747,7 @@ describe('Chart Control - Box and Whisker Series', () => {
747747
expect(path.localName == 'path').toBe(true);
748748
expect(path.getAttribute('d') != '' || ' ').toBe(true);
749749
expect(group.childNodes.length == 4).toBe(true);
750-
expect(text1.textContent == 'FinanceMaximum : 45Q3 : 37Median : 34Q1 : 28Minimum : 26').toBe(true);
750+
expect(text1.textContent.replace(/\u200E/g, '') == 'FinanceMaximum : 45Q3 : 37Median : 34Q1 : 28Minimum : 26').toBe(true);
751751
done();
752752
};
753753
chartObj.crosshair.enable = true;

controls/charts/spec/chart/series/bubble-series.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ describe('Chart Control', () => {
522522
expect(tooltip != null).toBe(true);
523523
expect(targetElement.getAttribute('opacity')).toEqual('1');
524524
targetElement = document.getElementById('container_tooltip_text');
525-
expect(targetElement.textContent).toEqual('Gold8000 : 90 Size : 12000');
525+
expect(targetElement.textContent.replace(/\u200E/g, '')).toEqual('Gold8000 : 90 Size : 12000');
526526
done();
527527
};
528528
chartObj.loaded = loaded;
@@ -1002,7 +1002,7 @@ describe('Chart Control', () => {
10021002
expect(tooltip != null).toBe(true);
10031003
expect(targetElement.getAttribute('opacity')).toEqual('1');
10041004
targetElement = document.getElementById('container_tooltip_text');
1005-
expect(targetElement.textContent).toEqual('ChartSeriesNameGold3000.0 : 3.0 Size : -30000');
1005+
expect(targetElement.textContent.replace(/\u200E/g, '')).toEqual('ChartSeriesNameGold3000.0 : 3.0 Size : -30000');
10061006
trigger.mousedownEvent(resetElement, 0, 0, 5, 5);
10071007
done();
10081008
};

controls/charts/spec/chart/series/candle-series.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ describe('Candle Series ', () => {
672672
let tooltip: HTMLElement = document.getElementById('container_tooltip');
673673
expect(tooltip != null).toBe(true);
674674
expect(target.getAttribute('opacity') == '0.5').toBe(true);
675-
expect(tooltip.childNodes[0].childNodes[0].childNodes[1].textContent).toEqual('2High : $10Low : $12Open : $6Close : $15');
675+
expect(tooltip.childNodes[0].childNodes[0].childNodes[1].textContent.replace(/\u200E/g, '')).toEqual('2High : $10Low : $12Open : $6Close : $15');
676676
expect(parseFloat(tooltip.style.top) < (series.points[1].regions[0].y + parseFloat(chartArea.getAttribute('y'))));
677677
done();
678678
};
@@ -707,7 +707,7 @@ describe('Candle Series ', () => {
707707
let text1: Element = group.childNodes[1] as HTMLElement;
708708
expect(path.getAttribute('fill') == 'pink').toBe(true);
709709
expect((<HTMLElement>text1.childNodes[0]).getAttribute('fill') == 'red').toBe(true);
710-
expect(text1.textContent == '#2High : 10CLow : 12COpen : 6CClose : 15C').toBe(true);
710+
expect(text1.textContent.replace(/\u200E/g, '') == '#2High : 10CLow : 12COpen : 6CClose : 15C').toBe(true);
711711
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
712712
done();
713713
};

controls/charts/spec/chart/series/hilo-open-close-series.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ describe('Chart Control Series', () => {
348348
let tooltip: HTMLElement = document.getElementById('container_tooltip');
349349
expect(tooltip != null).toBe(true);
350350
expect(target.getAttribute('opacity') == '1').toBe(true);
351-
expect(tooltip.childNodes[0].childNodes[0].childNodes[1].textContent).toEqual('HiloOpenCloseAustriaHigh : $150.99Low : $60.23Open : $120.55Close : $70.9');
351+
expect(tooltip.childNodes[0].childNodes[0].childNodes[1].textContent.replace(/\u200E/g, '')).toEqual('HiloOpenCloseAustriaHigh : $150.99Low : $60.23Open : $120.55Close : $70.9');
352352
done();
353353
};
354354
chartObj.loaded = loaded;

controls/charts/spec/chart/series/hilo-series.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ describe('Chart', () => {
497497
let tooltip: HTMLElement = document.getElementById('container_tooltip');
498498
expect(tooltip != null).toBe(true);
499499
expect(target.getAttribute('opacity') == '0.5').toBe(true);
500-
expect(tooltip.childNodes[0].childNodes[0].childNodes[1].textContent).toEqual('series12High : 10Low : 12');
500+
expect(tooltip.childNodes[0].childNodes[0].childNodes[1].textContent.replace(/\u200E/g, '')).toEqual('series12High : 10Low : 12');
501501
expect(parseFloat(tooltip.style.top) < (series.points[1].regions[0].y + parseFloat(chartArea.getAttribute('y'))));
502502
done();
503503
};
@@ -696,7 +696,7 @@ describe('Chart', () => {
696696
let text1: Element = group.childNodes[1] as HTMLElement;
697697
expect(path.getAttribute('fill') == 'pink').toBe(true);
698698
expect((<HTMLElement>text1.childNodes[0]).getAttribute('fill') == 'red').toBe(true);
699-
expect(text1.textContent == 'series1#2High : 10CLow : 12C').toBe(true);
699+
expect(text1.textContent.replace(/\u200E/g, '') == 'series1#2High : 10CLow : 12C').toBe(true);
700700
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
701701
done();
702702
};
@@ -725,7 +725,7 @@ describe('Chart', () => {
725725
let text2: Element = group.childNodes[2] as HTMLElement;
726726
expect(path.getAttribute('fill') == 'pink').toBe(true);
727727
expect((<HTMLElement>text1.childNodes[0]).getAttribute('fill') == 'red').toBe(true);
728-
expect(text1.textContent == '#2series1High : 10CLow : 12Cseries2 : 10C').toBe(true);
728+
expect(text1.textContent.replace(/\u200E/g, '') == '#2series1High : 10CLow : 12Cseries2 : 10C').toBe(true);
729729
trigger.mousemovetEvent(target, Math.ceil(x), Math.ceil(y + 50));
730730
done();
731731
};

controls/charts/spec/chart/series/range-area-series.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ describe('Chart', () => {
558558
let tooltip: HTMLElement = document.getElementById('container_tooltip');
559559
expect(tooltip != null).toBe(true);
560560
expect(target.getAttribute('opacity') == '1').toBe(true);
561-
expect(tooltip.childNodes[0].childNodes[0].childNodes[1].textContent).toEqual('IndiaFebHigh : 6.3Low : 1.3');
561+
expect(tooltip.childNodes[0].childNodes[0].childNodes[1].textContent.replace(/\u200E/g, '')).toEqual('IndiaFebHigh : 6.3Low : 1.3');
562562
done();
563563
};
564564
chartObj.loaded = loaded;

0 commit comments

Comments
 (0)