From 8ef7b7e85bd67742e132a07f2373cb1c8d18da51 Mon Sep 17 00:00:00 2001 From: netil Date: Thu, 8 Aug 2024 15:18:58 +0900 Subject: [PATCH] skip: adjust pool option --- src/Chart/api/show.ts | 2 +- vitest.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Chart/api/show.ts b/src/Chart/api/show.ts index a10765d4e..2b2f9625c 100644 --- a/src/Chart/api/show.ts +++ b/src/Chart/api/show.ts @@ -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); diff --git a/vitest.config.ts b/vitest.config.ts index 3a91e29f8..e2ec22bfc 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -28,6 +28,7 @@ export default defineConfig({ "test/assets/common.css", "src/scss/billboard.scss" ], + pool: "threads", browser: { enabled: true, provider: "playwright",