Add some types and a basic test to the SDK (#4472)

This commit is contained in:
pakrym-oai
2025-09-29 19:40:08 -07:00
committed by GitHub
parent 079303091f
commit 52e591ce60
19 changed files with 3072 additions and 783 deletions

View File

@@ -0,0 +1,16 @@
/** @type {import('jest').Config} */
module.exports = {
preset: "ts-jest/presets/default-esm",
testEnvironment: "node",
extensionsToTreatAsEsm: [".ts"],
globals: {
"ts-jest": {
useESM: true,
tsconfig: "tsconfig.json",
},
},
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
testMatch: ["**/tests/**/*.test.ts"],
};