You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
1 )
npx create-react-app my-app --template typescript
2 )
npm test
3 )
Why does it take 15 seconds for a really small testing?
Is there any way to speed up the tests without ejecting?
4 ) Things I tried
--> minimum 9 seconds
WITH TYPESCRIPT
PASS src/App.test.tsx (7.59 s)
√ renders learn react link (3 ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 15.534 s
Ran all test suites.
WITHOUT TYPESCRIPT
PASS src/App.test.js (5.659 s)
√ renders learn react link (35 ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 11.611 s
Ran all test suites.
Beta Was this translation helpful? Give feedback.
All reactions