Skip to content

Commit

Permalink
Adding default user agent (#39)
Browse files Browse the repository at this point in the history
* Adding default user agent

* Removing unnecessary expect conditions
  • Loading branch information
nicholas-chiu authored Dec 19, 2024
1 parent 6b6e675 commit 17ae5ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
-p licenseName="SEE LICENSE IN LICENSE.md"
--git-user-id lilt
--git-repo-id lilt-node
--http-user-agent Lilt_Client_Library-Node
--skip-validate-spec
-o .
- name: Create Pull Request
Expand Down
6 changes: 0 additions & 6 deletions workflow_tests/testVerifiedTranslation.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,10 @@ function expectCreateJobResponse(expect, createJobResponse) {
expect(createJobResponse.due).to.not.be.null
expect(createJobResponse.id).to.not.be.null
expect(createJobResponse.isProcessing).to.equal(0)
expect(createJobResponse.stats.exactWords).to.equal(0)
expect(createJobResponse.stats.fuzzyWords).to.equal(0)
expect(createJobResponse.stats.newWords).to.equal(0)
expect(createJobResponse.stats.numDeliveredProjects).to.equal(0)
expect(createJobResponse.stats.numLanguagePairs).to.equal(1)
expect(createJobResponse.stats.numProjects).to.equal(1)
expect(createJobResponse.stats.percentReviewed).to.equal(0)
expect(createJobResponse.stats.percentTranslated).to.equal(0)
expect(createJobResponse.stats.projects).to.be.an('array')
expect(createJobResponse.stats.sourceWords).to.equal(0)
expect(createJobResponse.stats.uniqueLanguagePairs).to.equal(1)
expect(createJobResponse.stats.uniqueLinguists).to.equal(0)
expect(createJobResponse.stats.workflowStatus).to.equal("READY_TO_START")
Expand Down

0 comments on commit 17ae5ce

Please sign in to comment.