Skip to content

Commit

Permalink
skip: adjust pool option
Browse files Browse the repository at this point in the history
  • Loading branch information
netil authored and netil committed Aug 8, 2024
1 parent a95263d commit 8ef7b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chart/api/show.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function showHide(show: boolean, targetIdsValue: string[], options: any): void {
// https://github.com/naver/billboard.js/issues/1758
if (!show && hiddenIds.length === 0) {
targets.style("display", "none");
callFn($$.config.data_onhidden, this, targetIds);
callFn($$.config?.data_onhidden, this, targetIds);
}

targets.style("opacity", opacity);
Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default defineConfig({
"test/assets/common.css",
"src/scss/billboard.scss"
],
pool: "threads",
browser: {
enabled: true,
provider: "playwright",
Expand Down

0 comments on commit 8ef7b7e

Please sign in to comment.