diff --git a/components/Button/Button.test.tsx b/components/Button/Button.test.tsx
new file mode 100644
index 0000000..b4462b0
--- /dev/null
+++ b/components/Button/Button.test.tsx
@@ -0,0 +1,24 @@
+import { describe, it, expect } from 'vitest'
+import { render, screen } from '@testing-library/react'
+import { Button } from './Button'
+
+describe('Button', () => {
+ it('renders with children', () => {
+ render()
+ expect(screen.getByText('Click me')).toBeInTheDocument()
+ })
+
+ it('applies correct intent classes', () => {
+ const { container } = render()
+ const link = container.querySelector('a')
+ expect(link).toHaveClass('bg-transparent')
+ expect(link).toHaveClass('text-blue-400')
+ })
+
+ it('applies correct size classes', () => {
+ const { container } = render()
+ const link = container.querySelector('a')
+ expect(link).toHaveClass('text-sm')
+ expect(link).toHaveClass('min-w-20')
+ })
+})
\ No newline at end of file
diff --git a/jest.config.js b/jest.config.js
deleted file mode 100644
index b66444c..0000000
--- a/jest.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const nextJest = require("next/jest")
-
-const createJestConfig = nextJest({
- dir: "./",
-})
-
-const customJestConfig = {
- setupFilesAfterEnv: ["/jest.setup.js"],
- testEnvironment: "jest-environment-jsdom",
- modulePathIgnorePatterns: ["/dist/"],
- testPathIgnorePatterns: ["/e2e"],
-}
-
-module.exports = createJestConfig(customJestConfig)
diff --git a/jest.setup.js b/jest.setup.js
deleted file mode 100644
index 401f198..0000000
--- a/jest.setup.js
+++ /dev/null
@@ -1,2 +0,0 @@
-// Learn more: https://github.com/testing-library/jest-dom
-import "@testing-library/jest-dom"
diff --git a/lp-items.tsx b/lp-items.tsx
index 3a97992..f5ee558 100644
--- a/lp-items.tsx
+++ b/lp-items.tsx
@@ -96,7 +96,7 @@ export const LP_GRID_ITEMS = [
),
},
{
- title: "Jest & React Testing Library",
+ title: "Vitest & React Testing Library",
description: "For rock-solid unit and integration tests.",
icon: (