Closed LeviRemi closed 2 years ago
not a problem with your PR, but i think you can appease Travis by targeting explicit versions of Node.js.
node_js:
- 14
- 16
if so, i'll figure out what's needed to get things ✅ in 18x separately.
@jgravois That did the trick; Travis is pleased. Thanks for the tip!
Hey @jgravois, this is a small fix for #78 that introduces an additional check so that z-values are not only checked for falsy, but also if equivalent to zero.
If both checks fail, then it is certain that no z-values were included in the coordinates array.
I added a new test in the same format as previous tests, but this time verifying persistence of the
0
z-value. Let me know if this needs enhanced at all, or if more coverage is required.npm run test
is successful after implementing these changes.