![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@connectedcars/jest-runner-integration
Advanced tools
Readme
Jest runner that runs integration test in band and units test in parallel and run both in parallel.
Test files are treated as integration tests if they end in it.test.ts or it.test.js.
This can speed up test runs if you are forced to run all your test in band because some of them share a resource(fx. a database) and can not run at the same time.
npm install @connectedcars/jest-runner-integration
jest.config.js:
module.exports = {
...
runner: '@connectedcars/jest-runner-integration',
...
}
launch.json:
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"args": [
"--runInBand",
"--coverage=false",
"--testTimeout=100000",
"mysql/common"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
},
{
"name": "jest-runner",
"type": "node",
"runtimeArgs": [
"./node_modules/.bin/jest",
],
"console": "integratedTerminal",
"request": "launch",
"cwd": "${workspaceRoot}",
"preLaunchTask": "npm: build:js",
"outFiles": [
"${workspaceRoot}/build/dist/**/**.js"
],
"sourceMaps": true,
"args": [],
"env": {},
"internalConsoleOptions": "openOnSessionStart"
}
]
}
settings.json:
{
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.enable": true,
"eslint.validate": [
"javascript",
"typescript"
],
"files.autoSave": "off",
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"build": true
},
"git.ignoreLimitWarning": true,
"[javascripts][javascriptreact][typescript][typescriptreact][json]": {
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"[json][jsonc]": {
"editor.formatOnSave": true
}
}
tasks.json:
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"problemMatcher": [
"$tsc"
],
"group": "build",
"label": "npm: build",
"detail": "build -- src"
}
]
}
FAQs
Jest runner that runs integration test in band and units test in parallel
We found that @connectedcars/jest-runner-integration demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 open source maintainers 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.