Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
jest-preset-kyt-rtl
Advanced tools
Jest preset for React projects that use @testing-library/react to test.
$ yarn add --dev --exact jest @testing-library/react jest-preset-kyt-rtl
// or
$ npm i --save-dev --save-exact jest @testing-library/react jest-preset-kyt-rtl
In your local Jest config - for instance, jest.config.js
:
{
preset: 'jest-preset-kyt-rtl'
}
Features:
Installs and configures raf/polyfill
, which is required by React >= 16.
Automatic moduleNameMapper
entries/file-stubbing for files with these extensions:
css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico|md
Sets cacheDirectory
to <rootDir>/.caches/jest
, which allows you to build/restore Jest transforms in between CI/CD pipeline runs. Example: using drone/gcs-cache
:
steps:
- name: restore_cache
image: homerovalle/drone-gcs-cache:latest
settings:
bucket: your-custom-name
restore: true
environment:
GCS_CACHE_JSON_KEY:
from_secret: a_secret_set_by_you
- name: test
image: node:12.16.2
commands:
- yarn test-coverage-ci
- name: rebuild_cache
image: homerovalle/drone-gcs-cache:latest
settings:
bucket: your-custom-name
mount:
- .caches
- coverage
rebuild: true
environment:
GCS_CACHE_JSON_KEY:
from_secret: a_secret_set_by_you
FAQs
Jest preset
The npm package jest-preset-kyt-rtl receives a total of 0 weekly downloads. As such, jest-preset-kyt-rtl popularity was classified as not popular.
We found that jest-preset-kyt-rtl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.