fix: map EBADPLATFORM and Git SSH auth failures to UnsupportedPackageError (422) #282
Annotations
4 errors
|
Test (Node 24.x)
Process completed with exit code 1.
|
|
tests/slow/error-handling.test.ts > Installation Errors > should throw UnsupportedPackageError for packages with unsupported platform (os/cpu) constraints:
tests/slow/error-handling.test.ts#L187
AssertionError: expected Error: ENOENT: no such file or directory,… { …(4) } to be an instance of UnsupportedPackageError
❯ tests/slow/error-handling.test.ts:187:21
|
|
Test (Node 22.x)
Process completed with exit code 1.
|
|
tests/slow/error-handling.test.ts > Installation Errors > should throw UnsupportedPackageError for packages with unsupported platform (os/cpu) constraints:
tests/slow/error-handling.test.ts#L187
AssertionError: expected Error: ENOENT: no such file or directory,… { …(4) } to be an instance of UnsupportedPackageError
❯ tests/slow/error-handling.test.ts:187:21
|