-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Refactor react tweek #50
Conversation
js/react-tweek/src/Provider.js
Outdated
import { Component, Children } from 'react'; | ||
import repoPropType from './repoPropType'; | ||
|
||
export function createProvider({ repoKey = 'repo' } = {}) { |
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.
default repoKey should be 'tweekRepo'
js/react-tweek/src/Provider.test.js
Outdated
</Provider>, | ||
); | ||
|
||
TestUtils.findRenderedComponentWithType(tree, Child); |
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.
remove this line
js/react-tweek/src/Provider.test.js
Outdated
</Provider>, | ||
); | ||
|
||
TestUtils.findRenderedComponentWithType(tree, Child); |
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.
remove this line
No description provided.