Skip to content

Commit e9e9aec

Browse files
authored
Merge pull request #1 from chrisg86/feature/add-tests
feat: Add tests
2 parents a3b53ee + 0a0b3b1 commit e9e9aec

File tree

5 files changed

+1053
-14
lines changed

5 files changed

+1053
-14
lines changed

package.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"scripts": {
1414
"dev": "vite",
1515
"build": "tsup",
16-
"preview": "vite preview"
16+
"preview": "vite preview",
17+
"test": "vitest run",
18+
"test:coverage": "vitest run --coverage"
1719
},
1820
"keywords": [
1921
"react",
@@ -31,13 +33,22 @@
3133
"license": "MIT",
3234
"packageManager": "pnpm@10.13.1",
3335
"devDependencies": {
36+
"@testing-library/jest-dom": "^6.6.3",
37+
"@testing-library/react": "^16.3.0",
3438
"@types/react": "^18.2.0",
3539
"@types/react-dom": "^18.2.0",
3640
"@vitejs/plugin-react": "^4.7.0",
41+
"@vitest/coverage-v8": "^3.2.4",
42+
"jsdom": "^26.1.0",
3743
"react": "^18.2.0",
3844
"react-dom": "^18.2.0",
3945
"tsup": "^7.2.0",
4046
"typescript": "^5.8.3",
41-
"vite": "^7.0.5"
47+
"vite": "^7.0.5",
48+
"vitest": "^3.2.4"
49+
},
50+
"repository": {
51+
"type": "git",
52+
"url": "https://github.com/chrisg86/react-wrap-text"
4253
}
4354
}

0 commit comments

Comments
 (0)