
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
vscode-customized-jest-runner
Advanced tools
Simple way to run or debug a single (or multiple) tests from context-menu
A customized version of vscode-jest-runner.
Jest Runner will work out of the box, with a valid Jest config.
If you have a custom setup use the following options to configure Jest Runner:
Command | Description |
---|---|
jestrunner.configPath | Jest config path (relative to ${workFolder} e.g. jest-config.json) |
jestrunner.jestPath | Absolute path to jest bin file (e.g. /usr/lib/node_modules/jest/bin/jest.js) |
jestrunner.debugOptions | Add or overwrite vscode debug configurations (only in debug mode) (e.g. "jestrunner.debugOptions": { "args": ["--no-cache"] } ) |
jestrunner.runOptions | Add CLI Options to the Jest Command (e.g. "jestrunner.runOptions": ["--coverage", "--colors"] ) https://jestjs.io/docs/en/cli |
jestrunner.jestCommand | Define an alternative Jest command (e.g. for Create React App and similar abstractions) |
jestrunner.disableCodeLens | Disable CodeLens feature |
jestrunner.codeLensSelector | CodeLens will be shown on files matching this pattern (default */.{test,spec}.{js,jsx,ts,tsx}) |
jestrunner.codeLens | Choose which CodeLens to enable, default to ["run", "debug"] |
jestrunner.enableYarnPnpSupport Enable if you are using Yarn 2 with Plug'n'Play | |
jestrunner.yarnPnpCommand | Command for debugging with Plug'n'Play defaults to yarn-*.*js |
jestrunner.projectPath | Absolute path to project directory (e.g. /home/me/project/sub-folder) |
jestrunner.changeDirectoryToWorkspaceRoot | Changes directory to workspace root before executing the test |
jestrunner.preserveEditorFocus | Preserve focus on your editor instead of focusing the terminal on test run |
click File -> Preferences -> Keyboard Shortcuts -> "{}" (top right) the json config file will open add this:
{
"key": "alt+1",
"command": "extension.runJest"
},
{
"key": "alt+2",
"command": "extension.debugJest"
},
{
"key": "alt+3",
"command": "extension.watchJest"
},
Some open topics get you started
Another vscode instance will open with the just compiled extension installed.
Babel compile Issue when starting Debug in JSX/TSX,
By default Jest finds its config from the "jest"
attribute in your package.json
or if you export an object module.export = {}
in a jest.config.js
file in your project root directory.
Read More: Configuring Jest Docs
If Breakspoints are not working properly, try adding this to vscode config:
"jestrunner.debugOptions": {
"args": ["--no-cache"],
"sourcemaps": "inline",
"disableOptimisticBPs": true,
}
FAQs
Simple way to run or debug a single (or multiple) tests from context-menu
The npm package vscode-customized-jest-runner receives a total of 0 weekly downloads. As such, vscode-customized-jest-runner popularity was classified as not popular.
We found that vscode-customized-jest-runner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.