-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(tests): fail on console activity #1542
Conversation
❤️ |
#1599 was merged, unblocking. |
Codecov Report
@@ Coverage Diff @@
## master #1542 +/- ##
==========================================
+ Coverage 99.66% 99.66% +<.01%
==========================================
Files 161 161
Lines 2714 2722 +8
==========================================
+ Hits 2705 2713 +8
Misses 9 9
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@levithomason I've merged with master
and fixed some tests, really want to see it finished 👍
de9536e
to
942859a
Compare
Only 2 components left 😅
Table (Factories breaking change)Seems we need a breaking change to factories here. Arrays cannot be used as shorthand values after all. We use literal values as keys. In the case of an array, there is no value to use as the key. Table row shorthand allows passing an array as a shorthand value. It is mapped to PortalThere is something setting state after unmount still. Seems we may need the Note, |
…React into fix/test-warnings # Conflicts: # karma.conf.babel.js # src/modules/Embed/Embed.js # src/modules/Progress/Progress.js # test/specs/docs/examples-test.js
Unbeviable, tests are passed ✌️ |
@levithomason I've reverted some style changes, marked as ready for review 👍 |
…React into fix/test-warnings # Conflicts: # src/modules/Sticky/Sticky.js
Updating... hang tight |
Over a year running, but we're actually going to merge this one 😅 |
…React into fix/test-warnings # Conflicts: # test/specs/modules/Dimmer/Dimmer-test.js
Fixed last merge conflicts and merged 👍 |
Released in |
Fixes #1507
This PR overloads console methods to throw. This fails all tests that result in console activity. This reveals several issues with props, keys, and other bad usages.
Karma now also serves the doc files. This makes
404
s in tests relevant as it means the doc site itself is missing these assets as well. I'd like to throw on404
if possible. This way, we also know all doc site assets exist.TODO
routes-test.js
similar toexamples-test.js
to ensure all routes render with console activity.