Skip to content
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

Merged
merged 10 commits into from
Sep 17, 2017
Merged

Refactor react tweek #50

merged 10 commits into from
Sep 17, 2017

Conversation

nataly87s
Copy link
Contributor

No description provided.

import { Component, Children } from 'react';
import repoPropType from './repoPropType';

export function createProvider({ repoKey = 'repo' } = {}) {
Copy link
Contributor

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'

</Provider>,
);

TestUtils.findRenderedComponentWithType(tree, Child);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

</Provider>,
);

TestUtils.findRenderedComponentWithType(tree, Child);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants