Skip to content

Echarts updates #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Oct 24, 2023
Merged
Prev Previous commit
Next Next commit
fix: unit tests fix
  • Loading branch information
raheeliftikhar5 committed Oct 24, 2023
commit 24eab6e3a1bf3e5f5c62ac65433d900416ca7071
1 change: 1 addition & 0 deletions client/packages/lowcoder-comps/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import config from "../../config/test/jest.config.js";

export default {
...config,
setupFiles: [...config.setupFiles, 'jest-canvas-mock'],
};
1 change: 1 addition & 0 deletions client/packages/lowcoder-comps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
},
"devDependencies": {
"jest": "29.3.0",
"jest-canvas-mock": "^2.5.2",
"vite": "^4.3.9",
"vite-tsconfig-paths": "^3.6.0"
}
Expand Down
29 changes: 28 additions & 1 deletion client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6331,7 +6331,7 @@ __metadata:
languageName: node
linkType: hard

"color-name@npm:~1.1.4":
"color-name@npm:^1.1.4, color-name@npm:~1.1.4":
version: 1.1.4
resolution: "color-name@npm:1.1.4"
checksum: b0445859521eb4021cd0fb0cc1a75cecf67fceecae89b63f62b201cca8d345baf8b952c966862a9d9a2632987d4f6581f0ec8d957dfacece86f0a7919316f610
Expand Down Expand Up @@ -6839,6 +6839,13 @@ __metadata:
languageName: node
linkType: hard

"cssfontparser@npm:^1.2.1":
version: 1.2.1
resolution: "cssfontparser@npm:1.2.1"
checksum: 952d487cddab591fb944f2a4c326a7736bc963784a6d92b6ad4051f3bf5ee49a732eff62e29a52ff085197cb07f5bd66525a2245ded7fd356113ac81be9238b9
languageName: node
linkType: hard

"csso@npm:^4.2.0":
version: 4.2.0
resolution: "csso@npm:4.2.0"
Expand Down Expand Up @@ -10546,6 +10553,16 @@ __metadata:
languageName: node
linkType: hard

"jest-canvas-mock@npm:^2.5.2":
version: 2.5.2
resolution: "jest-canvas-mock@npm:2.5.2"
dependencies:
cssfontparser: ^1.2.1
moo-color: ^1.0.2
checksum: a3004d2e96473049045e49dcf98e5ea6011494048ab42b5422b3089d9ff406aaca8353e79587055d840fa145541668eb8f78613765f252ad5901a8217e91ea5d
languageName: node
linkType: hard

"jest-changed-files@npm:^29.5.0":
version: 29.5.0
resolution: "jest-changed-files@npm:29.5.0"
Expand Down Expand Up @@ -11836,6 +11853,7 @@ __metadata:
echarts-extension-gmap: ^1.6.0
echarts-wordcloud: ^2.1.0
jest: 29.3.0
jest-canvas-mock: ^2.5.2
lowcoder-cli: "workspace:^"
lowcoder-sdk: "workspace:^"
mermaid: ^10.2.4
Expand Down Expand Up @@ -13060,6 +13078,15 @@ __metadata:
languageName: node
linkType: hard

"moo-color@npm:^1.0.2":
version: 1.0.3
resolution: "moo-color@npm:1.0.3"
dependencies:
color-name: ^1.1.4
checksum: 02bf59b6bbd5e86641bc062e2dc0843e6e579e18ef67e1c8e93bfc01945df578f20e66ce16aa9632db2aa0e16806e0914a26eb345a804f45fff1ae12a8906a29
languageName: node
linkType: hard

"mq-polyfill@npm:^1.1.8":
version: 1.1.8
resolution: "mq-polyfill@npm:1.1.8"
Expand Down