Commit 3f8d168
committed
test(purl-types): fix incomplete assertion in legacy npm names test
Add missing .toBe(true) to assertion that validates npm legacy package
names have at least one characteristic (builtin, mixed case, or illegal
characters). Without this, the test would pass even if the assertion
failed.1 parent 98d46ba commit 3f8d168
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments