Closed tonmanna closed 9 months ago
Could try jestrunner.jestCommand
, similar to this: https://github.com/firsttris/vscode-jest-runner/issues/320#issuecomment-1649431451
Maybe this?
"jestrunner.jestCommand": "export NODE_OPTIONS=--openssl-legacy-provider && node node_modules/jest/bin/jest.js",
Or this?
"jestrunner.jestCommand": "NODE_OPTIONS=--openssl-legacy-provider node node_modules/jest/bin/jest.js",
NODE_OPTIONS is a great solve.
My application still require --openssl-legacy-provider for ignore the legacy provider mode.