Skip to content

Fix: Add error handling to queryAll method #108

Fix: Add error handling to queryAll method

Fix: Add error handling to queryAll method #108

Re-run triggered October 25, 2024 13:34
Status Failure
Total duration 39s
Artifacts

node.js.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test/query.test.ts > Test query and queryAll method > it should throw meaningful error if not existing table: test/query.test.ts#L48
AssertionError: expected [Function] to throw error including 'Invalid search query. Detailed unproc…' but got 'getaddrinfo ENOTFOUND .suitetalk.api.…' Expected: "Invalid search query. Detailed unprocessed description follows. Invalid search type: transactiontablethatdoesnotexist." Received: "getaddrinfo ENOTFOUND .suitetalk.api.netsuite.com" ❯ test/query.test.ts:48:5
test/query.test.ts > Test query and queryAll method > it should throw meaningful error if not existing field: test/query.test.ts#L57
AssertionError: expected [Function] to throw error including 'Invalid search query. Detailed unproc…' but got 'getaddrinfo ENOTFOUND .suitetalk.api.…' Expected: "Invalid search query. Detailed unprocessed description follows. Search error occurred: Unknown identifier 'not_existing_field'. Available identifiers are: {customer=customer}" Received: "getaddrinfo ENOTFOUND .suitetalk.api.netsuite.com" ❯ test/query.test.ts:57:5
Node 20
Process completed with exit code 1.