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

Feature/es6 first tests #1152

Merged
merged 10 commits into from Nov 27, 2017
Merged

Feature/es6 first tests #1152

merged 10 commits into from Nov 27, 2017

Conversation

dacarley
Copy link
Contributor

This PR is based upon "Step 1 of moving to ES6" (#1149). The changes should consist of only 11 files, once that change is merged.

Started converting the first of the tests to es6.
Started by converting HttpProvider to es6, which led to the conversion of contract.js, eth.sendTransaction.js, and setProvider.js
Enabling ES6 support in Mocha led to fixes in method.buildCall.js and utils.sha3.js
Fixed the problems in test/eth.sendTransaction.js that were causing the error "Transaction was not mined within 50 blocks, please make sure your transaction was properly send. Be aware that it might still be mined!".
There may be deeper issues with the tests in eth.sendTransaction.js, these will require some conversation with Fabian before moving forward.

Started by converting HttpProvider to es6, which led to the conversion of contract.js, eth.sendTransaction.js, and setProvider.js
Enabling ES6 support in Mocha led to fixes in method.buildCall.js and utils.sha3.js
Fixed the problems in test/eth.sendTransaction.js that were causing the error "Transaction was not mined within 50 blocks, please make sure your transaction was properly send. Be aware that it might still be mined!".
There may be deeper issues with the tests in eth.sendTransaction.js, these will require some conversation with Fabian before moving forward.
@coveralls
Copy link

coveralls commented Oct 30, 2017

Coverage Status

Coverage decreased (-57.7%) to 27.857% when pulling a0bb2f9 on blitzpredict:feature/es6-firstTests into 037b116 on ethereum:1.0ES6.

@coveralls
Copy link

coveralls commented Oct 30, 2017

Coverage Status

Coverage decreased (-0.6%) to 84.894% when pulling 49922e9 on blitzpredict:feature/es6-firstTests into 037b116 on ethereum:1.0ES6.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 84.894% when pulling 49922e9 on blitzpredict:feature/es6-firstTests into 037b116 on ethereum:1.0ES6.

@dacarley
Copy link
Contributor Author

I've browsed through the differences in coverage, and it appears to be entirely related to the change from istanbul 0.4.5 to nyc 11.2.1 (the new istanbul)

@frozeman
Copy link
Contributor

i merged the first PR, can you please resolve the conflicts this one has now?

…ture/es6-firstTests

# Conflicts:
#	.eslintrc
#	.gitignore
#	.travis.yml
#	README.md
#	gulp/config.js
#	gulp/transpile.js
#	package.json
#	test/.eslintrc
#	test/eth.sendTransaction.js
@coveralls
Copy link

coveralls commented Nov 13, 2017

Coverage Status

Changes Unknown when pulling 1419c40 on blitzpredict:feature/es6-firstTests into ** on ethereum:1.0ES6**.

@coveralls
Copy link

coveralls commented Nov 13, 2017

Coverage Status

Changes Unknown when pulling d6fe282 on blitzpredict:feature/es6-firstTests into ** on ethereum:1.0ES6**.

…ture/es6-firstTests

# Conflicts:
#	test/eth.sendTransaction.js
@coveralls
Copy link

coveralls commented Nov 14, 2017

Coverage Status

Coverage decreased (-0.6%) to 84.929% when pulling 848756f on blitzpredict:feature/es6-firstTests into 44fee04 on ethereum:1.0ES6.

@frozeman frozeman merged commit 6a133ab into web3:1.0ES6 Nov 27, 2017
@frozeman
Copy link
Contributor

Sorry for the late review, but I’m quite busy these days. Looks good and thanks for all that effort!

@dacarley dacarley deleted the feature/es6-firstTests branch November 27, 2017 09:56
frozeman pushed a commit that referenced this pull request Apr 19, 2018
* First draft of babel+eslint+rollup

* Moved to gulp 4, improved some logging output during builds.

* Tweaks to the build process.

* Fixing the versioning task.

* Created separate copies of the .eslintrc files, one for each package.

* Started converting the first of the tests to es6.
Started by converting HttpProvider to es6, which led to the conversion of contract.js, eth.sendTransaction.js, and setProvider.js
Enabling ES6 support in Mocha led to fixes in method.buildCall.js and utils.sha3.js
Fixed the problems in test/eth.sendTransaction.js that were causing the error "Transaction was not mined within 50 blocks, please make sure your transaction was properly send. Be aware that it might still be mined!".
There may be deeper issues with the tests in eth.sendTransaction.js, these will require some conversation with Fabian before moving forward.

* Fixing coverage problems by upgrading to nyc (the new istanbul)

* Fixed test failure on node 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants