Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f1680cd
test: add test configuration
May 20, 2026
3803062
test: add src/lib/utils.test.ts
May 20, 2026
bec17cc
test: add src/app/page.test.tsx
May 20, 2026
c428a11
test: add src/app/blog/page.test.tsx
May 20, 2026
161c10f
test: add src/app/blog/[slug]/page.test.tsx
May 20, 2026
524ec43
test: add src/data/blog.test.ts
May 20, 2026
7e69af1
test: add src/data/resume.test.tsx
May 20, 2026
a35d11e
test: add src/components/mode-toggle.test.tsx
May 20, 2026
d609d46
test: add src/components/magicui/dock.test.tsx
May 20, 2026
c67a36c
test: add src/components/magicui/blur-fade-text.test.tsx
May 20, 2026
6498fd6
test: add src/components/magicui/blur-fade.test.tsx
May 20, 2026
aa6b065
test: add src/components/hackathon-card.test.tsx
May 20, 2026
79af1d4
test: add src/components/project-card.test.tsx
May 20, 2026
af27f7b
test: add src/components/theme-provider.test.tsx
May 20, 2026
b861f85
test: add src/components/resume-card.test.tsx
May 20, 2026
f8c25d5
test: add src/components/navbar.test.tsx
May 20, 2026
ebe98a8
test: add src/components/ui/separator.test.tsx
May 20, 2026
f973f48
test: add src/components/ui/tooltip.test.tsx
May 20, 2026
a6d8f38
test: add src/components/ui/avatar.test.tsx
May 20, 2026
8a77634
test: add src/components/ui/card.test.tsx
May 20, 2026
a3a3fbc
test: add src/components/ui/button.test.tsx
May 20, 2026
61be7c6
test: add src/components/ui/badge.test.tsx
May 20, 2026
5566926
test: add src/components/icons.test.tsx
May 20, 2026
5e3ee2f
test: add src/setupTests.test.ts
May 20, 2026
20f9ee1
test: add src/app/layout.test.tsx
May 20, 2026
3a52538
test: add src/components/mdx.test.tsx
May 20, 2026
ef667ca
test: add src/setupJest.test.js
May 20, 2026
4e1d0c8
test: clean up failing tests
May 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
roots: ['<rootDir>/src'],
testMatch: [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/*test.+(ts|tsx|js)",
"**/*.(test|spec).(ts|tsx|js)"
],
transform: {
'^.+\\.(ts|tsx)$': [
'ts-jest',
{
tsconfig: 'tsconfig.json',
diagnostics: {
ignoreCodes: [151001],
},
babelConfig: {
presets: ['@babel/preset-env', '@babel/preset-react'],
},
isolatedModules: true,
}
],
'^.+\\.(js|jsx)$': 'babel-jest',
},
transformIgnorePatterns: [
'/node_modules/(?!(framer-motion|@react-spring/)/)',
],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
'^.*\\.svg$': '<rootDir>/__mocks__/svg.js',
},
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
setupFiles: ['<rootDir>/src/setupJest.js'],
};
22 changes: 20 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/postcss": "^4.1.18",
"@types/mdx": "^2.0.13",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"content-collections": "^0.2.1",
"framer-motion": "^11.18.2",
"gray-matter": "^4.0.3",
"lucide-react": "^0.562.0",
"motion": "^12.23.27",
"next": "16.1.1",
Expand All @@ -32,23 +35,38 @@
"react-dom": "^19.2.3",
"react-markdown": "^10.1.0",
"rehype-pretty-code": "^0.14.1",
"rehype-stringify": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"shiki": "^3.20.0",
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"tailwindcss-animate": "^1.0.7",
"tw-animate-css": "^1.4.0"
"tw-animate-css": "^1.4.0",
"unified": "^11.0.5"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.29.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@content-collections/core": "^0.13.1",
"@content-collections/next": "^0.2.10",
"@tailwindcss/typography": "^0.5.19",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"babel-jest": "^30.4.1",
"eslint": "^9.39.2",
"eslint-config-next": "16.1.1",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.19",
"ts-jest": "^29.4.9",
"typescript": "^5.9.3",
"zod": "^4.3.5"
}
Expand Down
Loading