Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Feature/tests #165

Merged
merged 70 commits into from
Jan 22, 2019
Merged

Feature/tests #165

merged 70 commits into from
Jan 22, 2019

Conversation

cds-amal
Copy link
Member

Built on @DiscRiskandBisque's testing work.
It should merge automatically after we zap package-lock.json on master

N.B. I removed web3Saga's callSendTx and createTxChannel. Please do a manual integration test to make sure all remains copacetic.

Copy link
Contributor

@adrianmcli adrianmcli left a comment

Choose a reason for hiding this comment

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

This is quite a large PR and going forward, we really should have much smaller incremental PRs. There's also a lot of mocking going on here (which makes me feel extremely un-easy). The maintenance burden for this is going to be non-trivial. Not exactly sure how to deal with that in the context of this PR though.

.eslintrc Show resolved Hide resolved
.babelrc Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
test/blocks.test.js Outdated Show resolved Hide resolved
test/web3.test.js Show resolved Hide resolved
test/web3.test.js Show resolved Hide resolved
test/web3.test.js Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
.tern-project Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
jest.config.js Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/web3/web3Saga.js Outdated Show resolved Hide resolved
yield takeLatest('NETWORK_ID_FETCHING', getNetworkId)
yield takeEvery('SEND_WEB3_TX', callSendTx)
Copy link
Contributor

@honestbonsai honestbonsai Jan 14, 2019

Choose a reason for hiding this comment

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

Hmm not sure where this went? Looks like it got removed, but shouldn't it have been moved to another place? What was the reason for its removal?

Copy link
Contributor

Choose a reason for hiding this comment

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

^ Changed "it's" to "its".

Copy link
Member Author

@cds-amal cds-amal Jan 16, 2019

Choose a reason for hiding this comment

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

@honestbonsai The SEND_WEB3_TX action led to a code path that wasn't being utilized. I removed it because it touched the tests for web3Saga. I'd like to consider this resolved and leave it up to you to comment further.

test/contracts/create.test.js Outdated Show resolved Hide resolved
test/contracts/create.test.js Outdated Show resolved Hide resolved
test/web3.test.js Show resolved Hide resolved
test/web3.test.js Show resolved Hide resolved
test/web3.test.js Outdated Show resolved Hide resolved
test/web3.test.js Outdated Show resolved Hide resolved
test/accountBalances.test.js Outdated Show resolved Hide resolved
Copy link
Contributor

@adrianmcli adrianmcli left a comment

Choose a reason for hiding this comment

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

A few more change requests relating to style and naming.

test/web3.test.js Outdated Show resolved Hide resolved
test/web3.test.js Outdated Show resolved Hide resolved
test/utils/helpers.js Outdated Show resolved Hide resolved
test/utils/helpers.js Outdated Show resolved Hide resolved
test/web3.test.js Outdated Show resolved Hide resolved
test/contracts/create.test.js Outdated Show resolved Hide resolved
test/blocks.test.js Outdated Show resolved Hide resolved
test/accounts.test.js Outdated Show resolved Hide resolved
test/accountBalances.test.js Outdated Show resolved Hide resolved
@adrianmcli
Copy link
Contributor

adrianmcli commented Jan 18, 2019

merge it! after fixing the conflicts

@cds-amal cds-amal merged commit a7851b1 into master Jan 22, 2019
@cds-amal cds-amal deleted the feature/tests branch February 25, 2019 18:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants