uber / uber-direct-sdk

An Uber supported SDK for the Uber Direct API.
Apache License 2.0
0 stars 0 forks source link

Org API: Add support for contract type #44

Closed mager closed 1 week ago

mager commented 2 weeks ago
➜  uber-direct-sdk git:(feature/contract_type) npm run test src/__tests__/organizations/create-organization.test.ts

> uber-direct@0.1.7 test
> jest --coverage src/__tests__/organizations/create-organization.test.ts

 PASS  src/__tests__/organizations/create-organization.test.ts
  createOrganization
    ✓ calls fetchData with the correct arguments - centralized org (2 ms)
    ✓ calls fetchData with the correct arguments - decentralized org
    ✓ calls fetchData with the correct arguments - decentralized org with parent contract type (1 ms)
    ✎ todo throws an error if the request fails

Jest: "global" coverage threshold for statements (100%) not met: 80.51%
Jest: "global" coverage threshold for branches (100%) not met: 76.47%
Jest: "global" coverage threshold for lines (100%) not met: 78.87%
Jest: "global" coverage threshold for functions (100%) not met: 64.28%
Test Suites: 1 passed, 1 total
Tests:       1 todo, 3 passed, 4 total
Snapshots:   0 total
Time:        0.806 s, estimated 1 s
CLAassistant commented 2 weeks ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.