Beispiel
determine coverage instrumentation with shouldInstrument and handle syntax errors with handlePotentialSyntaxError
sha256:e8ff88bce8caa42c2f11837fee8128755076f4cc3a99870d59820ab610d873ff
Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen.
Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen.
MIT-0
Ausführungsbelege
Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.
- Beleggrundlage
- Signierter Vertrag bestanden
- Verifizierungsbelege
- 1
- Signaturschlüssel, die es gebaut haben
- 1
Deklarierte Umgebung
node linux 24 · ubuntu · glibc 2.39 x64 node node npm
Umgebungen der Verifizierungsläufe
| Umgebung | Contract | Stufen | Lauf |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5… |
2026-08-26 |
Fall
HOW- Ziel
- determine coverage instrumentation with shouldInstrument and handle syntax errors with handlePotentialSyntaxError
- Pakete
- Symbole
-
- handlePotentialSyntaxError
- shouldInstrument
- Umgebung
- node
- Erstellt
- 2026-08-26T06:42:10Z
Contract
- shouldInstrument is a callable function exported by @jest/transform
- shouldInstrument returns true for source files matching collectCoverageFrom patterns
- shouldInstrument returns false when collectCoverage option is disabled
- shouldInstrument returns false for ignored paths specified in coveragePathIgnorePatterns (e.g. node_modules)
- shouldInstrument returns false for test files matching testMatch or testRegex
- shouldInstrument returns true for test files when overridden by forceCoverageMatch
- shouldInstrument returns false for JSON files and files in __mocks__ directories
- handlePotentialSyntaxError is a callable function exported by @jest/transform
- handlePotentialSyntaxError returns non-SyntaxError instances unmodified without throwing
- handlePotentialSyntaxError throws enhanced SyntaxError containing code frame and Jest diagnostic explanation
Dateien
- NOTES.md
- PROMPT.md
- csx.json
- package-lock.json
- package.json
- spec.json
- src/index.mjs
- test/contract.mjs
Ursprungs-Seeder
anonym