Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentMédio

javascript-typescript-jest

porgithub·github· v1.0.0 · atualizado em 2026-04-10
82
Score

Best practices for writing JavaScript/TypeScript tests using Jest, including mocking strategies, test structure, and common patterns.

javascript-testingtypescript-testingjestunit-testingintegration-testingmockingtest-driven-development
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdjavascript-typescript-jest/workflow
1
Setup: — Install Jest and any necessary dependencies (e.g., React Testing Library).
2
Identify Target: — Determine the component, function, or class to be tested.
3
Create Test File: — Create a `.test.js` or `.test.ts` file next to the target file or in a `__tests__` directory.
4
Write Test Cases: — Use `describe` and `it` blocks to organize tests and describe expected behavior.
5
Implement Mocking: — Mock external dependencies using `jest.mock()` or `jest.spyOn()`.
6
Run Tests: — Execute the tests using the `jest` command.
7
Analyze Results: — Review test results and debug any failures.
8
Refactor: — Improve test coverage and code quality based on test results.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Similar aAPI Test Generator
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
88
Similar aTest Data Generator
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
83
Similar aAutoresearch: Autonomous Iterative Experimentation
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
83

Árvore do Skill

javascript-typescript-jest
javascript-typescript-jest
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.ACT
5.EVALUATE
6.REFLECT
Triggers7
write a Jest testhow to test JavaScript with Jestbest practices for Jest testingmocking in Jesttesting React components with Jestuse Jest matchersstructure Jest tests

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança48%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download javascript-typescript-jest
$ synaptic skills detail javascript-typescript-jest
$ synaptic skills live javascript-typescript-jest

Dependências

jestreact-testing-library

Links

GitHub Repository