Skip to content

Commit 3d7699a

Browse files
Copilotd10c
andcommitted
Fix failing view tests by adding @hpcc-js/wasm-graphviz dependency and Jest transform config
Add @hpcc-js/wasm-graphviz as explicit dependency to work around upstream packaging issue in @hpcc-js/wasm package. Also add @hpcc-js scope to Jest transform patterns to handle ES modules. Co-authored-by: d10c <9970661+d10c@users.noreply.github.com>
1 parent 11d8950 commit 3d7699a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

extensions/ql-vscode/package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/ql-vscode/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,6 +2073,7 @@
20732073
"chokidar": "^3.6.0",
20742074
"d3": "^7.9.0",
20752075
"d3-graphviz": "^5.6.0",
2076+
"@hpcc-js/wasm-graphviz": "^1.18.0",
20762077
"fs-extra": "^11.1.1",
20772078
"js-yaml": "^4.1.1",
20782079
"koffi": "^2.12.0",

extensions/ql-vscode/test/jest-config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const transformScopes = [
66
"@vscode-elements",
77
"@lit",
88
"@lit-labs",
9+
"@hpcc-js",
910
];
1011
const transformPackages = [
1112
"before-after-hook",

0 commit comments

Comments
 (0)