-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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(gatsby): Begin typing the redux code #20457
Conversation
Is it ready for review? Tests are failing at the moment. |
00ffba7
to
c7d385b
Compare
@@ -52,7 +52,9 @@ module.exports = { | |||
}, | |||
}, | |||
collectCoverageFrom: coverageDirs, | |||
reporters: [`default`].concat(useCoverage ? `jest-junit` : []), | |||
reporters: process.env.CI | |||
? [[`jest-silent-reporter`, { useDots: true }]] |
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.
this is to make debugging our CI test failures easier. Right now the output is so large it takes a while for circle ci to actually render the test output. This change makes it so that we only report test failures in CI.
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.
I think it's good? :)
@@ -32,26 +39,30 @@ const readState = () => { | |||
} catch (e) { | |||
// ignore errors. | |||
} | |||
return {} | |||
// BUG: Would this not cause downstream bugs? seems likely. Why wouldn't we just |
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.
This is what somebody else should check into. I don't know :/
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.
Yeah. Me either, but it's existing functionality.. I need to explore that more with somebody
This adds types to some of the redux code. Trying to do just small bits so the reviews are easier. There are lot's of any's and more work to do. But this is a decent start!