Skip to content

Commit

Permalink
fix: fix test env
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Mar 1, 2024
1 parent 17d9c4a commit dff0a7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
run: pnpm build
- name: Run specs
env:
CL_SDK_DOMAIN: commercelayer.co
CL_SDK_CLIENT_ID: P1GMFxhvca4CqYtBeAKb_E4LUVEbp9bCGMP8ZiHlZo8
CL_SDK_CLIENT_SECRET: 3xMxL0giBfoxl02TbGrNYeYl5KCmq2TdF71P05BWQzk
CL_SDK_CLIENT_ID: y0C5Tvn3kZSNCI3nqrBo7wfXwqsRubjhtFLLZGpEYMU
CL_SDK_CLIENT_SECRET: EeE1OvBS21emCoj_zODJ3UcQrfYWB9-wcAWEdIOYeOM
run: pnpm test
- name: Release
env:
Expand Down
6 changes: 4 additions & 2 deletions test/spot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ import getToken from './token'

try {

clp.memberships.resend('id')
clp.organizations.transfer_ownership('id', { new_owner_email: '' })
console.log(1)
const organizations = await clp.organizations.list()
console.log(2)
console.log(organizations)

} catch (error: any) {
console.log(inspect(error, false, null, true))
Expand Down

0 comments on commit dff0a7a

Please sign in to comment.