Skip to content

Commit

Permalink
fix server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkmin committed Apr 22, 2024
1 parent 23bb023 commit 30cb7e8
Show file tree
Hide file tree
Showing 5 changed files with 623 additions and 1,126 deletions.
3 changes: 2 additions & 1 deletion packages/sdk-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"version": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').name + '@' + require('./package.json').version) + ';'\" > src/__generated__/version.ts",
"build": "rollup -c",
"clean": "rimraf ./dist ./.cache",
"typecheck": "tsc -p tsconfig.typecheck.json"
"typecheck": "tsc -p tsconfig.typecheck.json",
"test": "jest"
},
"dependencies": {
"cross-fetch": "^3.1.5",
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk-server/scripts/codegen.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ const generateSDKClientFromSwagger = async (swaggerSpec, targetPath) => {

imports.push('import type * as SdkApiTypes from "./sdk_api_types";');

imports.push('import { fetch } from "../universal";');

codeBuffer.push(`
export class TurnkeySDKClientBase {
config: TurnkeySDKClientConfig;
Expand Down
Loading

0 comments on commit 30cb7e8

Please sign in to comment.