Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
openint-bot committed Dec 23, 2024
1 parent a185e73 commit 104d476
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 21 deletions.
31 changes: 16 additions & 15 deletions examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@opensdks/sdk-salesloft": "0.0.15",
"@opensdks/sdk-slack": "0.0.14",
"@opensdks/sdk-twilio": "0.0.14",
"@opensdks/sdk-openint": "0.1.1",
"openapi-fetch": "^0.13.3",
"remark-toc": "^9.0.0",
"twilio": "^4.19.3"
Expand Down
6 changes: 3 additions & 3 deletions examples/test.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const {initSDK} = require('@opensdks/runtime')
const {veniceSdkDef} = require('@opensdks/sdk-venice')
const {openintSdkDef} = require('@opensdks/sdk-openint')

const venice = initSDK(veniceSdkDef)
const openint = initSDK(openintSdkDef)

void venice.GET('/health').then((r) => {
void openint.GET('/health').then((r) => {
console.log(r.data)
})
6 changes: 3 additions & 3 deletions examples/test.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {initSDK} from '@opensdks/runtime'
import {veniceSdkDef} from '@opensdks/sdk-venice'
import {openintSdkDef} from '@opensdks/sdk-openint'

const venice = initSDK(veniceSdkDef)
const openint = initSDK(openintSdkDef)

const res = await venice.GET('/health')
const res = await openint.GET('/health')

console.log(res.data)

0 comments on commit 104d476

Please sign in to comment.