You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/10/16 06:34:17 UTC

[incubator-echarts] branch next updated (a77894c -> 60664f9)

This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a change to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


    from a77894c  Merge branch 'bugfixes' into next
     add 444bc08  ts: rename ut file name from js to ts.
     add e8e8bce  ts: (1) Migrate ut to ts (spec/data). (2) ix related typing in src.
     add 4d7f549  fix: fix that throw error if only a few components mounted.
     add 8b34dfb  ts: fix type of converters.
     add 212f3cf  lint: sort eslint for both src, extension-src, test/ut
     add 9f69525  fix: fix ut and fix getViusal bug brought by some of the 5.0 refactor.
     add 199a49e  test: remove unnecessary jsdom dependency (it cause some prepublish issue). Use jest built-in jsdom.
     add 0d47e96  build: move /echarts.*.ts to src/echarts.*.ts . Otherwise if user import from 'echarts.all', it might be confused whether echarts.all.ts or echarts.all.js
     add bed2ffc  test: fix ut: dataZoom
     add 93ede9d  fix: fix dev fast entry since echarts.all.ts moved.
     add 81b2efe  fix: (1) clarify id and name type. (2) compat non supported name type.
     add 346cccd  test: fix ut code to ts.
     add 5499a90  Merge branch 'next' into fix-ut
     add c5f4ef7  fix: add the missing entry file for echarts.*.ts migrate.
     add 7090bce  fix: (1) fix series merge mapping (brought by some previous refactor in 5.0). (2) tweak id name type and check.
     add c6eecfe  test: update ut for 5.0.
     new 60664f9  Merge pull request #13438 from apache/fix-ut

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/.eslintrc.yaml => .eslintrc-common.yaml        |  16 -
 build/config.js                                    |   5 +-
 build/dev-fast.js                                  |   2 +-
 build/pre-publish.js                               |  32 +-
 echarts.blank.ts                                   |  23 -
 echarts.common.ts                                  |  44 --
 extension-src/.eslintrc.yaml                       | 207 +-------
 index.d.ts                                         |   2 +-
 package.json                                       |   7 +-
 src/.eslintrc.yaml                                 | 193 +-------
 src/chart/map/MapSeries.ts                         |   2 +-
 src/chart/treemap/Breadcrumb.ts                    |   3 +-
 src/chart/treemap/TreemapSeries.ts                 |   8 +-
 src/chart/treemap/TreemapView.ts                   |   7 +-
 src/coord/CoordinateSystem.ts                      |   2 +-
 src/coord/geo/GeoModel.ts                          |   8 +-
 src/coord/geo/geoCreator.ts                        |  14 +-
 src/data/helper/dimensionHelper.ts                 |   3 -
 echarts.all.ts => src/echarts.all.ts               | 102 ++--
 .../expect/code.expect.js => src/echarts.blank.ts  |  13 +-
 src/{chart/candlestick.ts => echarts.common.ts}    |  31 +-
 .../echarts.simple.ts                              |  11 +-
 src/echarts.ts                                     |  34 +-
 src/model/Global.ts                                |  33 +-
 src/util/component.ts                              |  15 +-
 src/util/model.ts                                  |  55 ++-
 src/util/types.ts                                  |  35 +-
 test/ut/.eslintrc.yaml                             | 210 +-------
 test/ut/core/{extendExpect.js => extendExpect.ts}  |   4 +-
 test/ut/core/setup.js                              |  28 --
 echarts.simple.ts => test/ut/core/setup.ts         |  13 +-
 test/ut/core/utHelper.js                           | 177 -------
 test/ut/core/utHelper.ts                           | 145 ++++++
 test/ut/jest.config.js                             |  29 +-
 .../{containPixel.test.js => containPixel.test.ts} |  93 ++--
 .../api/{converter.test.js => converter.test.ts}   | 130 +++--
 .../api/{getVisual.test.js => getVisual.test.ts}   |  49 +-
 test/ut/spec/component/dataZoom/helper.test.js     | 109 ----
 test/ut/spec/component/dataZoom/helper.test.ts     | 105 ++++
 .../{setOption.test.js => setOption.test.ts}       |   0
 .../{sliderMove.test.js => sliderMove.test.ts}     |   9 +-
 .../{setOption.test.js => setOption.test.ts}       | 135 ++---
 test/ut/spec/data/{List.test.js => List.test.ts}   |  61 +--
 ...mensions.test.js => completeDimensions.test.ts} | 127 +++--
 ...ValueHelper.test.js => dataValueHelper.test.ts} |  54 +-
 test/ut/spec/model/Component.test.js               | 172 -------
 test/ut/spec/model/Component.test.ts               | 235 +++++++++
 .../spec/model/{Global.test.js => Global.test.ts}  | 239 ++++-----
 ...ptions.test.js => timelineMediaOptions.test.ts} |  59 ++-
 .../scale/{interval.test.js => interval.test.ts}   |  94 ++--
 test/ut/spec/util/graphic.test.js                  | 106 ----
 test/ut/spec/util/graphic.test.ts                  | 109 ++++
 .../spec/util/{layout.test.js => layout.test.ts}   |  44 +-
 test/ut/spec/util/{model.test.js => model.test.ts} |  19 +-
 test/ut/spec/util/number.test.js                   | 526 --------------------
 test/ut/spec/util/number.test.ts                   | 546 +++++++++++++++++++++
 tsconfig.json => test/ut/tsconfig.json             |  14 +-
 tsconfig.json                                      |   1 -
 58 files changed, 2072 insertions(+), 2477 deletions(-)
 copy src/.eslintrc.yaml => .eslintrc-common.yaml (92%)
 delete mode 100644 echarts.blank.ts
 delete mode 100644 echarts.common.ts
 rename echarts.all.ts => src/echarts.all.ts (74%)
 copy test/build/removeDEV/expect/code.expect.js => src/echarts.blank.ts (90%)
 copy src/{chart/candlestick.ts => echarts.common.ts} (58%)
 copy test/build/esm2cjs/expect/export-default0.expect.js => src/echarts.simple.ts (83%)
 rename test/ut/core/{extendExpect.js => extendExpect.ts} (95%)
 delete mode 100644 test/ut/core/setup.js
 rename echarts.simple.ts => test/ut/core/setup.ts (75%)
 delete mode 100755 test/ut/core/utHelper.js
 create mode 100755 test/ut/core/utHelper.ts
 rename test/ut/spec/api/{containPixel.test.js => containPixel.test.ts} (86%)
 rename test/ut/spec/api/{converter.test.js => converter.test.ts} (78%)
 rename test/ut/spec/api/{getVisual.test.js => getVisual.test.ts} (84%)
 delete mode 100755 test/ut/spec/component/dataZoom/helper.test.js
 create mode 100755 test/ut/spec/component/dataZoom/helper.test.ts
 rename test/ut/spec/component/graphic/{setOption.test.js => setOption.test.ts} (100%)
 rename test/ut/spec/component/helper/{sliderMove.test.js => sliderMove.test.ts} (96%)
 rename test/ut/spec/component/visualMap/{setOption.test.js => setOption.test.ts} (52%)
 rename test/ut/spec/data/{List.test.js => List.test.ts} (78%)
 rename test/ut/spec/data/{completeDimensions.test.js => completeDimensions.test.ts} (86%)
 rename test/ut/spec/data/{dataValueHelper.test.js => dataValueHelper.test.ts} (92%)
 delete mode 100755 test/ut/spec/model/Component.test.js
 create mode 100755 test/ut/spec/model/Component.test.ts
 rename test/ut/spec/model/{Global.test.js => Global.test.ts} (81%)
 rename test/ut/spec/model/{timelineMediaOptions.test.js => timelineMediaOptions.test.ts} (89%)
 rename test/ut/spec/scale/{interval.test.js => interval.test.ts} (57%)
 delete mode 100755 test/ut/spec/util/graphic.test.js
 create mode 100755 test/ut/spec/util/graphic.test.ts
 rename test/ut/spec/util/{layout.test.js => layout.test.ts} (82%)
 rename test/ut/spec/util/{model.test.js => model.test.ts} (86%)
 delete mode 100755 test/ut/spec/util/number.test.js
 create mode 100755 test/ut/spec/util/number.test.ts
 copy tsconfig.json => test/ut/tsconfig.json (68%)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[incubator-echarts] 01/01: Merge pull request #13438 from apache/fix-ut

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 60664f970d2d1defc4eca5ab4ca936dca437deb9
Merge: a77894c c6eecfe
Author: sushuang <su...@gmail.com>
AuthorDate: Fri Oct 16 14:33:52 2020 +0800

    Merge pull request #13438 from apache/fix-ut
    
    Fix ut

 src/.eslintrc.yaml => .eslintrc-common.yaml        |  16 -
 build/config.js                                    |   5 +-
 build/dev-fast.js                                  |   2 +-
 build/pre-publish.js                               |  32 +-
 echarts.common.ts                                  |  44 --
 extension-src/.eslintrc.yaml                       | 207 +-------
 index.d.ts                                         |   2 +-
 package.json                                       |   7 +-
 src/.eslintrc.yaml                                 | 193 +-------
 src/chart/map/MapSeries.ts                         |   2 +-
 src/chart/treemap/Breadcrumb.ts                    |   3 +-
 src/chart/treemap/TreemapSeries.ts                 |   8 +-
 src/chart/treemap/TreemapView.ts                   |   7 +-
 src/coord/CoordinateSystem.ts                      |   2 +-
 src/coord/geo/GeoModel.ts                          |   8 +-
 src/coord/geo/geoCreator.ts                        |  14 +-
 src/data/helper/dimensionHelper.ts                 |   3 -
 echarts.all.ts => src/echarts.all.ts               | 102 ++--
 echarts.blank.ts => src/echarts.blank.ts           |   6 +-
 index.d.ts => src/echarts.common.ts                |  29 +-
 echarts.simple.ts => src/echarts.simple.ts         |  12 +-
 src/echarts.ts                                     |  34 +-
 src/model/Global.ts                                |  33 +-
 src/util/component.ts                              |  15 +-
 src/util/model.ts                                  |  55 ++-
 src/util/types.ts                                  |  35 +-
 test/ut/.eslintrc.yaml                             | 210 +-------
 test/ut/core/{extendExpect.js => extendExpect.ts}  |   4 +-
 test/ut/core/{setup.js => setup.ts}                |  16 +-
 test/ut/core/utHelper.js                           | 177 -------
 test/ut/core/utHelper.ts                           | 145 ++++++
 test/ut/jest.config.js                             |  29 +-
 .../{containPixel.test.js => containPixel.test.ts} |  93 ++--
 .../api/{converter.test.js => converter.test.ts}   | 130 +++--
 .../api/{getVisual.test.js => getVisual.test.ts}   |  49 +-
 test/ut/spec/component/dataZoom/helper.test.js     | 109 ----
 test/ut/spec/component/dataZoom/helper.test.ts     | 105 ++++
 .../{setOption.test.js => setOption.test.ts}       |   0
 .../{sliderMove.test.js => sliderMove.test.ts}     |   9 +-
 .../{setOption.test.js => setOption.test.ts}       | 135 ++---
 test/ut/spec/data/{List.test.js => List.test.ts}   |  61 +--
 ...mensions.test.js => completeDimensions.test.ts} | 127 +++--
 ...ValueHelper.test.js => dataValueHelper.test.ts} |  54 +-
 test/ut/spec/model/Component.test.js               | 172 -------
 test/ut/spec/model/Component.test.ts               | 235 +++++++++
 .../spec/model/{Global.test.js => Global.test.ts}  | 239 ++++-----
 ...ptions.test.js => timelineMediaOptions.test.ts} |  59 ++-
 .../scale/{interval.test.js => interval.test.ts}   |  94 ++--
 test/ut/spec/util/graphic.test.js                  | 106 ----
 test/ut/spec/util/graphic.test.ts                  | 109 ++++
 .../spec/util/{layout.test.js => layout.test.ts}   |  44 +-
 test/ut/spec/util/{model.test.js => model.test.ts} |  19 +-
 test/ut/spec/util/number.test.js                   | 526 --------------------
 test/ut/spec/util/number.test.ts                   | 546 +++++++++++++++++++++
 tsconfig.json => test/ut/tsconfig.json             |  14 +-
 tsconfig.json                                      |   1 -
 56 files changed, 2074 insertions(+), 2419 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org