CodeSandbox
react-ts-unit-test-example
Code supplement for the blog post "No, TypeScript is not a waste of time." https://dev.to/resir014/no-typescript-is-not-a-waste-of-time-2hpk
resir014
31.6k
2
48
Edit Sandbox
Files
public
src
ToggleButton.test.tsx
ToggleButton.tsx
index.tsx
styles.css
package.json
tsconfig.json
Dependencies
@testing-library/react
8.0.7
react
16.8.4
react-dom
16.8.4
react-scripts
2.1.3
External Resources
Open Sandbox
index.tsx
Console
0
Problems
0
React DevTools
0
All
Info
Warning
Error
Debug