Skip to content

Merge pull request #57 from htdangkhoa/feature/esm #79

Merge pull request #57 from htdangkhoa/feature/esm

Merge pull request #57 from htdangkhoa/feature/esm #79

GitHub Actions / Test report with Node 22 and Google Ads API v17 succeeded Jun 19, 2024 in 1s

24 passed, 0 failed and 0 skipped

Tests passed successfully

✅ junit.xml

24 tests were completed in 30s with 24 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CustomerServiceClient 7✅ 1s
listAccessibleCustomers 1✅ 1s
QueryBuilder 1✅ 316ms
search 12✅ 27s
Service 3✅ 536ms

✅ CustomerServiceClient

CustomerServiceClient should be exported
  ✅ CustomerServiceClient should be exported
CustomerServiceClient should be able to create a client
  ✅ CustomerServiceClient should be able to create a client
GoogleAdsServiceClient should be exported
  ✅ GoogleAdsServiceClient should be exported
GoogleAdsServiceClient should be able to create a client
  ✅ GoogleAdsServiceClient should be able to create a client
Campaign should be exported
  ✅ Campaign should be exported
Campaign should have a name
  ✅ Campaign should have a name
Campaign should have an advertising channel type
  ✅ Campaign should have an advertising channel type

✅ listAccessibleCustomers

listAccessibleCustomers should be able to list accessible customers
  ✅ listAccessibleCustomers should be able to list accessible customers

✅ QueryBuilder

QueryBuilder correctly builds a query
  ✅ QueryBuilder correctly builds a query

✅ search

search should throw an error if missing customer ID
  ✅ search should throw an error if missing customer ID
search should be able to search customer_client
  ✅ search should be able to search customer_client
search should throw ServiceError
  ✅ search should throw ServiceError
search should throw Error
  ✅ search should throw Error
searchStream should be able to searchStream campaign
  ✅ searchStream should be able to searchStream campaign
mutate should be able to mutate ad_group
  ✅ mutate should be able to mutate ad_group
mutate partial failure should decode partial failure errors if present on the response
  ✅ mutate partial failure should decode partial failure errors if present on the response
mutate partial failure decode partial failure error should return original response if no partial failure error
  ✅ mutate partial failure decode partial failure error should return original response if no partial failure error
mutate partial failure decode partial failure error should return original response if no details
  ✅ mutate partial failure decode partial failure error should return original response if no details
mutate partial failure decode partial failure error should return original response if no value in details
  ✅ mutate partial failure decode partial failure error should return original response if no value in details
mutate partial failure decode partial failure error should return original response if no type_url in details
  ✅ mutate partial failure decode partial failure error should return original response if no type_url in details
mutate partial failure decode partial failure error should return the errors for partial failure
  ✅ mutate partial failure decode partial failure error should return the errors for partial failure

✅ Service

Service should be able to create a service and load client
  ✅ Service should be able to create a service and load client
Service should be loaded from cache
  ✅ Service should be loaded from cache
callMetadata should be throw error
  ✅ callMetadata should be throw error