|
25 | 25 | "history": "5.3.0", |
26 | 26 | "loglevel": "1.8.1", |
27 | 27 | "nanoid": "5.0.1", |
| 28 | + "posthog-js": "^1.245.1", |
28 | 29 | "purecss": "3.0.0", |
29 | 30 | "react": "^18.3.1", |
30 | 31 | "react-dnd": "^16.0.1", |
|
46 | 47 | "@babel/core": "7.23.2", |
47 | 48 | "@babel/preset-env": "7.23.2", |
48 | 49 | "@babel/preset-react": "7.22.15", |
49 | | - "babel-jest": "29.7.0", |
50 | | - "jest": "29.7.0", |
| 50 | + "@babel/preset-typescript": "^7.27.1", |
51 | 51 | "@eslint/js": "^9.17.0", |
52 | 52 | "@quickbaseoss/babel-plugin-styled-components-css-namespace": "1.0.1", |
53 | 53 | "@types/react": "^18.3.18", |
54 | 54 | "@types/react-dom": "^18.3.5", |
55 | 55 | "@vitejs/plugin-react": "^4.3.4", |
| 56 | + "babel-jest": "29.7.0", |
56 | 57 | "eslint": "^9.17.0", |
57 | 58 | "eslint-plugin-react-hooks": "^5.0.0", |
58 | 59 | "eslint-plugin-react-refresh": "^0.4.16", |
59 | 60 | "globals": "^15.14.0", |
| 61 | + "jest": "29.7.0", |
| 62 | + "react-test-renderer": "^18.3.1", |
60 | 63 | "typescript": "~5.6.2", |
61 | 64 | "typescript-eslint": "^8.18.2", |
62 | 65 | "vite": "^6.0.5" |
|
73 | 76 | }, |
74 | 77 | "jest": { |
75 | 78 | "transform": { |
76 | | - "^.+\\.[jt]sx?$": ["babel-jest", { "configFile": "./test/.babelrc" }] |
| 79 | + "^.+\\.[jt]sx?$": [ |
| 80 | + "babel-jest", |
| 81 | + { |
| 82 | + "configFile": "./test/.babelrc" |
| 83 | + } |
| 84 | + ] |
77 | 85 | }, |
78 | 86 | "testMatch": [ |
79 | | - "**/test/unit/**/*Test.js", |
80 | | - "**/test/integration/**/*Test.js" |
| 87 | + "**/test/unit/**/*Test.[jt]s?(x)", |
| 88 | + "**/test/integration/**/*Test.[jt]s?(x)" |
81 | 89 | ], |
82 | 90 | "setupFilesAfterEnv": [ |
83 | 91 | "<rootDir>/test/unit/setup.js" |
84 | 92 | ], |
85 | 93 | "transformIgnorePatterns": [ |
86 | 94 | "/node_modules/(?!nanoid).+\\.js$" |
87 | | - ] |
| 95 | + ], |
| 96 | + "moduleNameMapper": { |
| 97 | + "^.+\\.(css|less|scss)$": "<rootDir>/test/styleMock.js" |
| 98 | + } |
88 | 99 | } |
89 | 100 | } |
0 commit comments