Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

System tests fail with request error #108

@JustinBeckwith

Description

@JustinBeckwith

This was getting masked by a problem with the logic in the system tests, which I'm about to fix. CI is failing for this here:
https://circleci.com/gh/googleapis/nodejs-translate/3384

It looks like this is related to the transition to teeny-request:

1) translate
       authentication
         should use an API key to authenticate:
     TypeError: Cannot read property 'defaults' of undefined
      at Util.makeRequest (node_modules/@google-cloud/common/src/util.ts:624:45)
      at Translate.request (src/index.ts:551:10)
      at Translate.getLanguages (src/index.ts:354:10)
      at Translate.wrapper (node_modules/@google-cloud/promisify/src/index.ts:73:29)
      at Context.it (system-test/translate.ts:165:17)

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: translationIssues related to the nodejs-translate API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions