test-unit — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited test-unit (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Test individual functions.
test('add works', () => {
expect(add(1, 2)).toBe(3)
})test('add handles null', () => {
expect(add(null, 2)).toBe(2)
})
test('add handles string', () => {
expect(add('1', 2)).toBe(3)
})test('add throws on invalid', () => {
expect(() => add()).toThrow()
})| Test | For |
|---|---|
| toBe | Exact value |
| toEqual | Structure |
| toThrow | Errors |
| toHaveBeenCalled | Functions |
## Unit Tests
### Passed
- [n] tests
### Failed
- [n] tests
### Coverage
- [n]%Role: Unit Tester Input: Test file Output: Test results
Test the smallest pieces.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.