V2.0.0 Add Typescript support #336
Annotations
10 errors and 1 warning
Documents › upload › Sends the correct request:
src/TelnyxResource.ts#L268
at Constructor._buildError (src/TelnyxResource.ts:268:15)
at IncomingMessage._buildError (src/TelnyxResource.ts:211:30)
|
Documents › upload › Sends the correct request [with specified auth]:
src/TelnyxResource.ts#L268
at Constructor._buildError (src/TelnyxResource.ts:268:15)
at IncomingMessage._buildError (src/TelnyxResource.ts:211:30)
|
Billing Groups › list › Sends the correct request:
src/test/resources/BillingGroups.test.ts#L15
expect(received).toHaveProperty(path)
Expected path: "created_at"
Received path: []
Received value: [{"created_at": "2019-10-15T10:07:15.527Z", "deleted_at": null, "id": "f5586561-8ff0-4291-a0ac-84fe544797bd", "name": "My billing group name", "organization_id": "f1486bae-f067-460c-ad43-73a92848f902", "record_type": "billing_group", "updated_at": "2019-10-15T10:07:15.527Z"}]
at responseFn (src/test/resources/BillingGroups.test.ts:15:32)
|
Billing Groups › list › Sends the correct request [with specified auth]:
src/test/resources/BillingGroups.test.ts#L15
expect(received).toHaveProperty(path)
Expected path: "created_at"
Received path: []
Received value: [{"created_at": "2019-10-15T10:07:15.527Z", "deleted_at": null, "id": "f5586561-8ff0-4291-a0ac-84fe544797bd", "name": "My billing group name", "organization_id": "f1486bae-f067-460c-ad43-73a92848f902", "record_type": "billing_group", "updated_at": "2019-10-15T10:07:15.527Z"}]
at responseFn (src/test/resources/BillingGroups.test.ts:15:32)
|
AuthenticationProviders Resource › list › Sends the correct request:
src/test/resources/AuthenticationProviders.test.ts#L25
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 3
Object {
- "record_type": "authentication_provider",
+ "record_type": Array [
+ "authentication_provider",
+ ],
}
at listResponseFn (src/test/resources/AuthenticationProviders.test.ts:25:32)
|
AuthenticationProviders Resource › list › Sends the correct request [with specified auth]:
src/test/resources/AuthenticationProviders.test.ts#L25
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 3
Object {
- "record_type": "authentication_provider",
+ "record_type": Array [
+ "authentication_provider",
+ ],
}
at listResponseFn (src/test/resources/AuthenticationProviders.test.ts:25:32)
|
AuthenticationProviders Resource › create › Sends the correct request:
src/test/resources/AuthenticationProviders.test.ts#L13
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 3
Object {
- "record_type": "authentication_provider",
+ "record_type": Array [
+ "authentication_provider",
+ ],
}
at responseFn (src/test/resources/AuthenticationProviders.test.ts:13:27)
|
AuthenticationProviders Resource › retrieve › Sends the correct request:
src/test/resources/AuthenticationProviders.test.ts#L13
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 3
Object {
- "record_type": "authentication_provider",
+ "record_type": Array [
+ "authentication_provider",
+ ],
}
at responseFn (src/test/resources/AuthenticationProviders.test.ts:13:27)
|
AuthenticationProviders Resource › retrieve › Sends the correct request [with specified auth]:
src/test/resources/AuthenticationProviders.test.ts#L13
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 3
Object {
- "record_type": "authentication_provider",
+ "record_type": Array [
+ "authentication_provider",
+ ],
}
at responseFn (src/test/resources/AuthenticationProviders.test.ts:13:27)
|
AuthenticationProviders Resource › update › Sends the correct request:
src/test/resources/AuthenticationProviders.test.ts#L13
expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 3
Object {
- "record_type": "authentication_provider",
+ "record_type": Array [
+ "authentication_provider",
+ ],
}
at responseFn (src/test/resources/AuthenticationProviders.test.ts:13:27)
|
test (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|