We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf9d896 commit 30af7e4Copy full SHA for 30af7e4
README.md
@@ -168,6 +168,22 @@ The `useTheme()` hook does not take any params; it returns the following:
168
| `setTheme` | Function | Setter to set new theme. |
169
| `toggleTheme` | Function | Toggles the theme between `light` and `dark`. |
170
171
+## Testing
172
+
173
+Tests are written using React Testing Library and Jest. You can run the tests using the following command:
174
175
+### npm
176
177
+```shell
178
+$ npm test
179
+```
180
181
+### yarn
182
183
184
+$ yarn test
185
186
187
## Issues
188
189
https://github.com/designcise/next-theme-toggle/issues
0 commit comments