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
7a70bd6
test: add test configuration
May 23, 2026
e8f7b3f
test: add src/lib/utils.test.ts
May 23, 2026
10af627
test: add src/app/page.test.tsx
May 23, 2026
4d08e62
test: add src/app/blog/page.test.tsx
May 23, 2026
34d407f
test: add src/app/blog/[slug]/page.test.tsx
May 23, 2026
23550b0
test: add src/data/blog.test.ts
May 23, 2026
34c741a
test: add src/data/resume.test.tsx
May 23, 2026
54d691e
test: add src/components/mode-toggle.test.tsx
May 23, 2026
63b49b9
test: add src/components/magicui/dock.test.tsx
May 23, 2026
bd2e581
test: add src/components/magicui/blur-fade-text.test.tsx
May 23, 2026
18c919a
test: add src/components/magicui/blur-fade.test.tsx
May 23, 2026
5c94205
test: add src/components/hackathon-card.test.tsx
May 23, 2026
8641ea0
test: add src/components/project-card.test.tsx
May 23, 2026
65fcef6
test: add src/components/theme-provider.test.tsx
May 23, 2026
3f31bb6
test: add src/components/resume-card.test.tsx
May 23, 2026
f8feb92
test: add src/components/navbar.test.tsx
May 23, 2026
8350ed9
test: add src/components/ui/separator.test.tsx
May 23, 2026
c0d68c9
test: add src/components/ui/tooltip.test.tsx
May 23, 2026
710dfc8
test: add src/components/ui/avatar.test.tsx
May 23, 2026
816e9d5
test: add src/components/ui/card.test.tsx
May 23, 2026
1064da1
test: add src/components/ui/button.test.tsx
May 23, 2026
a9f3c4a
test: add src/components/ui/badge.test.tsx
May 23, 2026
af3a287
test: add src/components/icons.test.tsx
May 23, 2026
419be84
test: add src/setupTests.test.ts
May 23, 2026
97036e3
test: add src/app/layout.test.tsx
May 23, 2026
131a347
test: add src/components/mdx.test.tsx
May 23, 2026
a274f18
test: add src/setupJest.test.js
May 23, 2026
9834a37
test: clean up failing tests
May 23, 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.11",
"typescript": "^5.9.3",
"zod": "^4.3.5"
}
Expand Down
Loading