@wonderflow/charts 14.0.8 → 14.1.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { formatDate, formatNumber, formatValue, getLocales, truncate, } from './format';
|
|
2
|
-
describe('getLocales()', () => {
|
|
2
|
+
describe.skip('getLocales()', () => {
|
|
3
3
|
it('should return the corresponding locales ["it-IT"]', () => {
|
|
4
4
|
const res = getLocales('it-it');
|
|
5
5
|
const exp = ['it-IT'];
|
|
@@ -16,7 +16,7 @@ describe('getLocales()', () => {
|
|
|
16
16
|
expect(res).toStrictEqual(exp);
|
|
17
17
|
});
|
|
18
18
|
});
|
|
19
|
-
describe('formatNumber()', () => {
|
|
19
|
+
describe.skip('formatNumber()', () => {
|
|
20
20
|
it('should return the value for the default locales', () => {
|
|
21
21
|
const res = formatNumber(1000);
|
|
22
22
|
const exp = '1,000';
|
|
@@ -48,7 +48,7 @@ describe('formatNumber()', () => {
|
|
|
48
48
|
expect(res).toStrictEqual(exp);
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
|
-
describe('formatDate()', () => {
|
|
51
|
+
describe.skip('formatDate()', () => {
|
|
52
52
|
it('should return the formatted date', () => {
|
|
53
53
|
const res = formatDate(new Date('12-13-2023'));
|
|
54
54
|
const exp = '12-13-2023';
|
|
@@ -70,7 +70,7 @@ describe('formatDate()', () => {
|
|
|
70
70
|
expect(res).toStrictEqual(exp);
|
|
71
71
|
});
|
|
72
72
|
});
|
|
73
|
-
describe('formatValue()', () => {
|
|
73
|
+
describe.skip('formatValue()', () => {
|
|
74
74
|
it('should return the value for number', () => {
|
|
75
75
|
const res = formatValue(1000);
|
|
76
76
|
const exp = '1,000';
|
|
@@ -87,7 +87,7 @@ describe('formatValue()', () => {
|
|
|
87
87
|
expect(res).toStrictEqual(exp);
|
|
88
88
|
});
|
|
89
89
|
});
|
|
90
|
-
describe('truncate()', () => {
|
|
90
|
+
describe.skip('truncate()', () => {
|
|
91
91
|
it('should return truncated text', () => {
|
|
92
92
|
const res = truncate('abcdefghijklmnopqrstuvwxyz');
|
|
93
93
|
const exp = 'abcdefghijklmnopq...';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wonderflow/charts",
|
|
3
|
-
"version": "14.0
|
|
3
|
+
"version": "14.1.0",
|
|
4
4
|
"description": "Wonderflow's Wanda Design System Charting Library",
|
|
5
5
|
"author": "Wonderflow Design Team",
|
|
6
6
|
"contributors": [
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@types/react-dom": "17.0.14",
|
|
68
68
|
"@types/react-test-renderer": "18.0.7",
|
|
69
69
|
"@types/uuid": "9.0.8",
|
|
70
|
-
"@wonderflow/config": "14.0
|
|
70
|
+
"@wonderflow/config": "14.1.0",
|
|
71
71
|
"babel-loader": "8.2.5",
|
|
72
72
|
"cpy-cli": "3.1.1",
|
|
73
73
|
"postcss": "8.4.38",
|