diff --git a/maxun-core/jest.config.js b/maxun-core/jest.config.js new file mode 100644 index 00000000..e4e978ec --- /dev/null +++ b/maxun-core/jest.config.js @@ -0,0 +1,10 @@ +/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ +module.exports = { + preset: 'ts-jest', + testEnvironment: 'node', + globals: { + 'ts-jest': { + isolatedModules: true + } + } +}; \ No newline at end of file diff --git a/maxun-core/tsconfig.json b/maxun-core/tsconfig.json new file mode 100644 index 00000000..a3813d95 --- /dev/null +++ b/maxun-core/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "outDir": "./build", + "declaration": true, + "allowJs": true + }, + "include": ["src"] +}