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

Refactor tests copy/copy-sync to ES6 #364

Merged
merged 6 commits into from Feb 21, 2017

Conversation

JPeer264
Copy link
Collaborator

(#355)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.434% when pulling 4782e82 on JPeer264:feature/refactor-es6 into 9fc96fd on jprichardson:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.434% when pulling 1ad32b3 on JPeer264:feature/refactor-es6 into 9fc96fd on jprichardson:master.

var file = path.join(TEST_DIR, 'write.txt')
fse.writeFileSync(file, 'hello')
var data = fse.readFileSync(file, 'utf8')
assert.equal(data, 'hello')
})

it('should have native fs constants', function () {
it('should have native fs constants', () => {
// Node.js v0.12 / IO.js
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is this test just for Node v0.12 / IO ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure what is meant by that comment, we do need to test fs constants.

@jprichardson jprichardson merged commit 5ff2fc8 into jprichardson:master Feb 21, 2017
@jprichardson
Copy link
Owner

Thanks @JPeer264!

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

4 participants