Commit b58ffa0
Stop pinning the package version in the User-Agent test
The assertion compared the resolved header against the literal
"skylink-api-node/0.1.0", so the suite failed on any version bump — it would
have blocked the very first release after 0.1.0, in the release workflow, with
an error that looks nothing like its cause.
The header is now compared against the USER_AGENT constant, and the shape is
asserted separately, so a missing or malformed version is still caught while a
bump is not.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent adc72f0 commit b58ffa0
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
0 commit comments