V2.0.0 Add Typescript support #277
Triggered via pull request
September 25, 2024 01:30
Status
Failure
Total duration
1m 14s
Artifacts
–
Annotations
32 errors and 2 warnings
Telnyx Module › GetClientUserAgent › Should return a user-agent serialized JSON object:
src/test/telnyx.test.ts#L71
expect(received).toHaveProperty(path, value)
Expected path: "lang"
Received path: []
Expected value: "node"
Received value: {}
at Object.<anonymous> (src/test/telnyx.test.ts:71:9)
|
Telnyx Module › GetClientUserAgentSeeded › Should return a user-agent serialized JSON object:
src/test/telnyx.test.ts#L84
expect(received).toHaveProperty(path, value)
Expected path: "lang"
Received path: []
Expected value: "node"
Received value: {}
at Object.<anonymous> (src/test/telnyx.test.ts:84:9)
|
Telnyx Module › GetClientUserAgentSeeded › Should URI-encode user-agent fields:
src/test/telnyx.test.ts#L95
expect(received).toHaveProperty(path, value)
Expected path: "lang"
Received path: []
Expected value: "%C3%AF"
Received value: {}
at Object.<anonymous> (src/test/telnyx.test.ts:95:9)
|
Telnyx Module › _setAppInfo › should be included in the ClientUserAgent and be added to the UserAgent String:
src/test/telnyx.test.ts#L211
expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has type: string
Received has value: "zrxxy1hyise/1.2.345 (https://myawesomeapp.info)"
at src/test/telnyx.test.ts:211:49
at cb (src/telnyx.ts:268:9)
at cb (src/telnyx.ts:299:9)
|
Telnyx Module › _setAppInfo › should be included in the ClientUserAgent and be added to the UserAgent String:
src/test/telnyx.test.ts#L199
thrown: "Exceeded timeout of 20000 ms for a test while waiting for `done()` to be called.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at src/test/telnyx.test.ts:199:5
at src/test/telnyx.test.ts:117:3
at Object.<anonymous> (src/test/telnyx.test.ts:22:1)
|
Telnyx Module › Callback support › Any given endpoint › Will call a callback if successful:
src/test/telnyx.test.ts#L233
expect(received).toBe(expected) // Object.is equality
Expected: "Called!"
Received: {}
at Object.<anonymous> (src/test/telnyx.test.ts:233:11)
|
Telnyx Module › Callback support › Any given endpoint › Will expose HTTP response object:
src/test/telnyx.test.ts#L268
expect(received).toBe(expected) // Object.is equality
Expected: "Called!"
Received: {}
at Object.<anonymous> (src/test/telnyx.test.ts:268:11)
|
Telnyx Module › Callback support › Any given endpoint › Given an error the callback will receive it:
src/test/telnyx.test.ts#L286
expect(received).toBe(expected) // Object.is equality
Expected: "ErrorWasPassed"
Received: {}
at Object.<anonymous> (src/test/telnyx.test.ts:286:11)
|
Telnyx Module › setMaxNetworkRetries › when given an empty or non-number variable › should error:
src/test/telnyx.test.ts#L310
expect(received).toThrow(expected)
Expected pattern: /maxNetworkRetries must be a number/
Received function did not throw
at Object.<anonymous> (src/test/telnyx.test.ts:310:12)
|
test (22.x)
Process completed with exit code 1.
|
test (20.x)
The job was canceled because "_22_x" failed.
|
Telnyx Module › GetClientUserAgent › Should return a user-agent serialized JSON object:
src/test/telnyx.test.ts#L71
expect(received).toHaveProperty(path, value)
Expected path: "lang"
Received path: []
Expected value: "node"
Received value: {}
at Object.<anonymous> (src/test/telnyx.test.ts:71:9)
|
Telnyx Module › GetClientUserAgentSeeded › Should return a user-agent serialized JSON object:
src/test/telnyx.test.ts#L84
expect(received).toHaveProperty(path, value)
Expected path: "lang"
Received path: []
Expected value: "node"
Received value: {}
at Object.<anonymous> (src/test/telnyx.test.ts:84:9)
|
Telnyx Module › GetClientUserAgentSeeded › Should URI-encode user-agent fields:
src/test/telnyx.test.ts#L95
expect(received).toHaveProperty(path, value)
Expected path: "lang"
Received path: []
Expected value: "%C3%AF"
Received value: {}
at Object.<anonymous> (src/test/telnyx.test.ts:95:9)
|
Telnyx Module › _setAppInfo › should be included in the ClientUserAgent and be added to the UserAgent String:
src/test/telnyx.test.ts#L211
expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has type: string
Received has value: "hbqpiq0qs3a/1.2.345 (https://myawesomeapp.info)"
at src/test/telnyx.test.ts:211:49
at cb (src/telnyx.ts:268:9)
at cb (src/telnyx.ts:299:9)
|
Telnyx Module › _setAppInfo › should be included in the ClientUserAgent and be added to the UserAgent String:
src/test/telnyx.test.ts#L199
thrown: "Exceeded timeout of 20000 ms for a test while waiting for `done()` to be called.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at src/test/telnyx.test.ts:199:5
at src/test/telnyx.test.ts:117:3
at Object.<anonymous> (src/test/telnyx.test.ts:22:1)
|
Telnyx Module › Callback support › Any given endpoint › Will call a callback if successful:
src/test/telnyx.test.ts#L233
expect(received).toBe(expected) // Object.is equality
Expected: "Called!"
Received: {}
at Object.<anonymous> (src/test/telnyx.test.ts:233:11)
|
Telnyx Module › Callback support › Any given endpoint › Will expose HTTP response object:
src/test/telnyx.test.ts#L268
expect(received).toBe(expected) // Object.is equality
Expected: "Called!"
Received: {}
at Object.<anonymous> (src/test/telnyx.test.ts:268:11)
|
Telnyx Module › Callback support › Any given endpoint › Given an error the callback will receive it:
src/test/telnyx.test.ts#L286
expect(received).toBe(expected) // Object.is equality
Expected: "ErrorWasPassed"
Received: {}
at Object.<anonymous> (src/test/telnyx.test.ts:286:11)
|
Telnyx Module › setMaxNetworkRetries › when given an empty or non-number variable › should error:
src/test/telnyx.test.ts#L310
expect(received).toThrow(expected)
Expected pattern: /maxNetworkRetries must be a number/
Received function did not throw
at Object.<anonymous> (src/test/telnyx.test.ts:310:12)
|
test (20.x)
Process completed with exit code 1.
|
test (18.x)
The job was canceled because "_22_x" failed.
|
MessagingProfiles Resource › retrieve › Sends the correct request:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › retrieve › Sends the correct request [with specified auth]:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › create › Sends the correct request:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › create › Sends the correct request [with specified auth]:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › create › Sends the correct request [with specified auth in options]:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › update › Sends the correct request:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › list › Sends the correct request:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › list › Sends the correct request [with specified auth]:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › PhoneNumbers methods › listPhoneNumbers › Sends the correct request:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
MessagingProfiles Resource › PhoneNumbers methods › listPhoneNumbers › Sends the correct request [with specified auth]:
src/TelnyxResource.ts#L304
An error occurred with our connection to Telnyx.
at src/TelnyxResource.ts:304:9
at ClientRequest.<anonymous> (src/TelnyxResource.ts:532:67)
|
test (22.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (22.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|