diff --git a/libs/shinkai-ui/jest.config.ts b/libs/shinkai-ui/jest.config.ts deleted file mode 100644 index 0c78bb018..000000000 --- a/libs/shinkai-ui/jest.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* eslint-disable */ -export default { - displayName: 'shinkai-ui', - preset: '../../jest.preset.js', - transform: { - '^.+\\.[tj]sx?$': ['ts-jest', { tsconfig: '/tsconfig.spec.json' }] - }, - moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], - coverageDirectory: '../../coverage/libs/shinkai-ui', - setupFilesAfterEnv: ['/src/test-setup.ts'], - moduleNameMapper: { - '^@shinkai_network/(.*)$': '/../../libs/$1/src', - }, - testEnvironment: 'jsdom', -}; \ No newline at end of file diff --git a/libs/shinkai-ui/src/test-setup.ts b/libs/shinkai-ui/src/test-setup.ts deleted file mode 100644 index 4ce10eebf..000000000 --- a/libs/shinkai-ui/src/test-setup.ts +++ /dev/null @@ -1,22 +0,0 @@ -// jest-dom adds custom jest matchers for asserting on DOM nodes. -// allows you to do things like: -// expect(element).toHaveTextContent(/react/i) -// learn more: https://github.com/testing-library/jest-dom -import '@testing-library/jest-dom'; - -// Mock console methods to reduce noise in test output -const originalConsoleError = console.error; -const originalConsoleWarn = console.warn; -const originalConsoleLog = console.log; - -beforeAll(() => { - console.error = jest.fn(); - console.warn = jest.fn(); - console.log = jest.fn(); -}); - -afterAll(() => { - console.error = originalConsoleError; - console.warn = originalConsoleWarn; - console.log = originalConsoleLog; -}); \ No newline at end of file diff --git a/libs/shinkai-ui/tsconfig.spec.json b/libs/shinkai-ui/tsconfig.spec.json deleted file mode 100644 index b74001c10..000000000 --- a/libs/shinkai-ui/tsconfig.spec.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../dist/out-tsc", - "module": "commonjs", - "types": ["jest", "node"], - "esModuleInterop": true - }, - "include": [ - "jest.config.ts", - "src/**/*.test.ts", - "src/**/*.spec.ts", - "src/**/*.test.tsx", - "src/**/*.spec.tsx", - "src/**/*.test.js", - "src/**/*.spec.js", - "src/**/*.test.jsx", - "src/**/*.spec.jsx", - "src/**/*.d.ts" - ] -} \ No newline at end of file