From e088c641dc91d574a364cf1eddf1c8c1835469cc Mon Sep 17 00:00:00 2001 From: Kyle Scott Date: Wed, 27 Sep 2023 12:11:01 -0400 Subject: [PATCH] cleanup --- packages/panoptic-sdk/package.json | 3 ++- .../src/publicActions/getPanopticCollateralData.test.ts | 0 .../publicActions/getPanopticCollateralPositionData.test.ts | 0 .../panoptic-sdk/src/publicActions/getPanopticPoolData.test.ts | 0 .../src/publicActions/getPanopticPositionData.test.ts | 0 .../panoptic-sdk/src/publicActions/simulateMintOptions.test.ts | 1 + packages/panoptic-sdk/src/utils/calculateBurnOptions.test.ts | 0 packages/panoptic-sdk/src/utils/calculateForceExercise.test.ts | 0 .../panoptic-sdk/src/utils/calculateLiquidateAccount.test.ts | 0 packages/panoptic-sdk/src/utils/calculateMintOptions.test.ts | 0 packages/panoptic-sdk/src/utils/calculateRollOptions.test.ts | 0 .../src/utils/collateralTracker/calculateDeposit.test.ts | 0 .../src/utils/collateralTracker/calculateMint.test.ts | 0 .../src/utils/collateralTracker/calculateRedeem.test.ts | 0 .../src/utils/collateralTracker/calculateWithdraw.test.ts | 0 15 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.test.ts delete mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.test.ts delete mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPoolData.test.ts delete mode 100644 packages/panoptic-sdk/src/publicActions/getPanopticPositionData.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/calculateBurnOptions.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/calculateForceExercise.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/calculateLiquidateAccount.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/calculateMintOptions.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/calculateRollOptions.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateRedeem.test.ts delete mode 100644 packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.test.ts diff --git a/packages/panoptic-sdk/package.json b/packages/panoptic-sdk/package.json index 42ad97b..ac843f6 100644 --- a/packages/panoptic-sdk/package.json +++ b/packages/panoptic-sdk/package.json @@ -23,7 +23,8 @@ "lint": "biome check .", "format": "biome format .", "typecheck": "tsc --noEmit", - "test": "vitest" + "test": "vitest", + "test:ci": "CI=True vitest" }, "peerDependencies": { "viem": ">=1" diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateralData.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticCollateralPositionData.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPoolData.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPoolData.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/publicActions/getPanopticPositionData.test.ts b/packages/panoptic-sdk/src/publicActions/getPanopticPositionData.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/publicActions/simulateMintOptions.test.ts b/packages/panoptic-sdk/src/publicActions/simulateMintOptions.test.ts index 6d3a046..bfe943d 100644 --- a/packages/panoptic-sdk/src/publicActions/simulateMintOptions.test.ts +++ b/packages/panoptic-sdk/src/publicActions/simulateMintOptions.test.ts @@ -5,6 +5,7 @@ import type { PanopticPool } from "../types/PanopticPool.js"; let id: Hex | undefined = undefined; +// @ts-ignore let pool: PanopticPool; beforeEach(async () => { diff --git a/packages/panoptic-sdk/src/utils/calculateBurnOptions.test.ts b/packages/panoptic-sdk/src/utils/calculateBurnOptions.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/utils/calculateForceExercise.test.ts b/packages/panoptic-sdk/src/utils/calculateForceExercise.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/utils/calculateLiquidateAccount.test.ts b/packages/panoptic-sdk/src/utils/calculateLiquidateAccount.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/utils/calculateMintOptions.test.ts b/packages/panoptic-sdk/src/utils/calculateMintOptions.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/utils/calculateRollOptions.test.ts b/packages/panoptic-sdk/src/utils/calculateRollOptions.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.test.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateDeposit.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.test.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateMint.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateRedeem.test.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateRedeem.test.ts deleted file mode 100644 index e69de29..0000000 diff --git a/packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.test.ts b/packages/panoptic-sdk/src/utils/collateralTracker/calculateWithdraw.test.ts deleted file mode 100644 index e69de29..0000000