mirror of
https://github.com/openai/codex.git
synced 2026-12-01 15:42:13 +00:00
Add some types and a basic test to the SDK (#4472)
This commit is contained in:
1 parent
079303091f
commit
52e591ce60
19 files changed
+3072
-783
No files matched your search
@@ -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"],
|
||||
};
|
||||
Reference in new issue
Block a user