Skip to content

Commit

Permalink
Merge pull request #26 from purduehackers/react-tests
Browse files Browse the repository at this point in the history
Add tests for `useLightningTime()` hook
  • Loading branch information
MatthewStanciu authored Dec 13, 2023
2 parents 957bd9f + fd060cc commit 20dc0e7
Show file tree
Hide file tree
Showing 4 changed files with 235 additions and 199 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"rgb-hex": "3.0.0"
},
"devDependencies": {
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
Expand All @@ -72,6 +73,7 @@
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"pinst": "^3.0.0",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
Expand All @@ -80,8 +82,8 @@
"peerDependencies": {
"@types/react": ">=17.0.0",
"date-fns": ">=2.0.0",
"react": ">=17.0.0",
"preact": ">=10.0.0"
"preact": ">=10.0.0",
"react": ">=17.0.0"
},
"peerDependenciesMeta": {
"react": {
Expand Down
197 changes: 0 additions & 197 deletions test/LightningTime.test.ts

This file was deleted.

Loading

0 comments on commit 20dc0e7

Please sign in to comment.